Package ai.djl.serving.workflow.function
package ai.djl.serving.workflow.function
Contains the
WorkflowFunction
and various built-in
functions.-
ClassDescriptionWorkflow function "adapter" applies an adapted model to an input.Workflow function "ensemble" accepts a list of
Ensembleable
outputs and merges them usingEnsembleable.ensemble(List)
.Workflow function "functionsApply" accepts a list of functions and an input and applies each function to the input.Workflow function "id" accepts a single argument and returns the result of evaluating it.An internalWorkflowFunction
that is used to execute aWorkerPoolConfig
(typically a model) through theWorkLoadManager
in the workflow.A lambda function that can be run within aWorkflow
.