Interface NoBatchifyTranslator<I,O>

All Superinterfaces:
PostProcessor<O>, PreProcessor<I>, Translator<I,O>
All Known Implementing Classes:
BigGANTranslator, QaServingTranslator, Sam2Translator, SpeechRecognitionTranslator, StyleTransferTranslator, TextClassificationServingTranslator, TokenClassificationServingTranslator

public interface NoBatchifyTranslator<I,O> extends Translator<I,O>
A Translator that does not use a Batchifier.

There are two major cases for avoiding the use of a Batchifier.

First, you want to translate between Batches rather than Records. For example, you might go from String[] to Int[].

The second option is when using a model that does not use batching. Then, the model expects only a single record at a time.

See Also: