Class IrisClassificationTranslatorFactory

  • All Implemented Interfaces:
    ai.djl.translate.TranslatorFactory

    public class IrisClassificationTranslatorFactory
    extends java.lang.Object
    implements ai.djl.translate.TranslatorFactory
    A TranslatorFactory that creates a IrisClassificationTranslatorFactory.IrisTranslator instance.
    • 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)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
      • Methods inherited from interface ai.djl.translate.TranslatorFactory

        isSupported
    • Constructor Detail

      • IrisClassificationTranslatorFactory

        public IrisClassificationTranslatorFactory()
    • Method Detail

      • getSupportedTypes

        public java.util.Set<ai.djl.util.Pair<java.lang.reflect.Type,​java.lang.reflect.Type>> getSupportedTypes()
        Specified by:
        getSupportedTypes in interface ai.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 interface ai.djl.translate.TranslatorFactory