O - the type of the output object expectedpublic interface PostProcessor<O>
| Modifier and Type | Method and Description |
|---|---|
O |
processOutput(TranslatorContext ctx,
NDList list)
Processes the output NDList to the corresponding output object.
|
O processOutput(TranslatorContext ctx, NDList list) throws java.lang.Exception
ctx - the toolkit used for post-processinglist - the output NDList after inferencejava.lang.Exception - if an error occurs during processing output