public class NoopTranslator extends java.lang.Object implements Translator<NDList,NDList>
Translator implementation.| Constructor and Description |
|---|
NoopTranslator() |
| Modifier and Type | Method and Description |
|---|---|
Batchifier |
getBatchifier()
Gets the
Batchifier. |
NDList |
processInput(TranslatorContext ctx,
NDList input)
Processes the input and converts it to NDList.
|
NDList |
processOutput(TranslatorContext ctx,
NDList list)
Processes the output NDList to the corresponding output object.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitpreparegetPipelinepublic NDList processInput(TranslatorContext ctx, NDList input)
processInput in interface PreProcessor<NDList>ctx - the toolkit for creating the input NDArrayinput - the input objectNDList after pre-processingpublic NDList processOutput(TranslatorContext ctx, NDList list)
processOutput in interface PostProcessor<NDList>ctx - the toolkit used for post-processinglist - the output NDList after inferencepublic Batchifier getBatchifier()
Batchifier.getBatchifier in interface Translator<NDList,NDList>Batchifier