See: Description
| Interface | Description |
|---|---|
| Batchifier | |
| NDArraySupplier |
Represents a supplier of
NDArray. |
| PostProcessor<O> |
An interface that provides post-processing functionality.
|
| PreProcessor<I> |
An interface that provides pre-processing functionality.
|
| ServingTranslator | |
| Transform |
An interface to apply various transforms to the input.
|
| Translator<I,O> |
The
Translator interface provides model pre-processing and postprocessing functionality. |
| TranslatorContext |
The
TranslatorContext interface provides a toolkit for pre-processing and postprocessing
functionality. |
| TranslatorFactory<I,O> |
A utility class creates
Translator instances. |
| Class | Description |
|---|---|
| NoopTranslator |
A no operational
Translator implementation. |
| PaddingStackBatchifier |
The padding stack batchifier is a
StackBatchifier that also pads elements to reach the
same length. |
| PaddingStackBatchifier.Builder |
Builder to build a
PaddingStackBatchifier. |
| Pipeline |
Pipeline allows applying multiple transforms on an input NDList. |
| ServingTranslatorFactory |
A
TranslatorFactory that creates an generic Translator. |
| StackBatchifier |
StackBatchifier is used to merge a list of samples to form a mini-batch of NDArray(s). |
| Exception | Description |
|---|---|
| TranslateException |
Thrown to indicate that an error is raised during processing of the input or output.
|
Translator,
Batchifier,
Pipeline