Package ai.djl.inference.streaming
Contains classes to implement streaming inference tasks.
- See Also:
Predictor
-
Interface Summary Interface Description StreamingBlock ABlockpossessing the additional streaming forward capabilities used byPredictor.streamingPredict(Object).StreamingTranslator<I,O> An expansion of theTranslatorwith postProcessing for theStreamingBlock(used byPredictor.streamingPredict(Object). -
Class Summary Class Description ChunkedBytesSupplier A {link BytesSupplier} that supports chunked reading.IteratorBytesSupplier AnIteratorBytesSupplieris a streamingBytesSuppliersuitable for synchronous usage.PublisherBytesSupplier AnPublisherBytesSupplieris a streamingBytesSuppliersuitable for reactive asynchronous usage.StreamingTranslator.StreamOutput<O> AStreamingTranslator.StreamOutputrepresents a streamable output type (either iterative or asynchronous). -
Enum Summary Enum Description StreamingTranslator.Support What types ofStreamingTranslator.StreamOutputs are supported by aStreamingTranslator.