Interface MultiOutputAdapter<T>
-
- All Known Implementing Classes:
ClassificationMultiOutputAdapter,RawMultiOutputAdapter,RegressionMultiOutputAdapter,SSDOutputAdapter,YOLOOutputAdapter
@Deprecated public interface MultiOutputAdapter<T>Deprecated.To be removed - see https://github.com/KonduitAI/konduit-serving/issues/298Convert one or more inputINDArray(one per output name) in to an appropriate json object representing the domain to be interpreted.- Author:
- Adam Gibson
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description java.util.Map<java.lang.String,BatchOutput>adapt(T input, java.util.List<java.lang.String> outputNames, io.vertx.ext.web.RoutingContext routingContext)Deprecated.Adapt a pair ofINDArrayand the output names, with the array input ordered by the output namejava.util.List<java.lang.Class<? extends OutputAdapter<?>>>outputAdapterTypes()Deprecated.Returns a map of the strings by output name to theOutputAdapterfor each output
-
-
-
Method Detail
-
adapt
java.util.Map<java.lang.String,BatchOutput> adapt(T input, java.util.List<java.lang.String> outputNames, io.vertx.ext.web.RoutingContext routingContext)
Deprecated.Adapt a pair ofINDArrayand the output names, with the array input ordered by the output name- Parameters:
input- the arrays to adaptoutputNames- the output names to adaptroutingContext- routing context- Returns:
- Adapted inputs
-
outputAdapterTypes
java.util.List<java.lang.Class<? extends OutputAdapter<?>>> outputAdapterTypes()
Deprecated.Returns a map of the strings by output name to theOutputAdapterfor each output- Returns:
- the output adapter types for this multi output adapter
-
-