Package ai.djl.serving.wlm
Interface JobFunction<I,O>
-
- Type Parameters:
I- the job input typeO- the job output type
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public interface JobFunction<I,O>A function describing the action to take in aJob.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.util.List<O>apply(java.util.List<I> inputs)Applies this function.
-