Class IrisClassificationTranslatorFactory
- java.lang.Object
-
- ai.djl.onnxruntime.zoo.tabular.softmax_regression.IrisClassificationTranslatorFactory
-
- All Implemented Interfaces:
ai.djl.translate.TranslatorFactory
public class IrisClassificationTranslatorFactory extends java.lang.Object implements ai.djl.translate.TranslatorFactory
ATranslatorFactory
that creates aIrisClassificationTranslatorFactory.IrisTranslator
instance.
-
-
Constructor Summary
Constructors Constructor Description IrisClassificationTranslatorFactory()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.Set<ai.djl.util.Pair<java.lang.reflect.Type,java.lang.reflect.Type>>
getSupportedTypes()
<I,O>
ai.djl.translate.Translator<I,O>newInstance(java.lang.Class<I> input, java.lang.Class<O> output, ai.djl.Model model, java.util.Map<java.lang.String,?> arguments)
-
-
-
Method Detail
-
getSupportedTypes
public java.util.Set<ai.djl.util.Pair<java.lang.reflect.Type,java.lang.reflect.Type>> getSupportedTypes()
- Specified by:
getSupportedTypes
in interfaceai.djl.translate.TranslatorFactory
-
newInstance
public <I,O> ai.djl.translate.Translator<I,O> newInstance(java.lang.Class<I> input, java.lang.Class<O> output, ai.djl.Model model, java.util.Map<java.lang.String,?> arguments)
- Specified by:
newInstance
in interfaceai.djl.translate.TranslatorFactory
-
-