Class TabularTranslatorFactory

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

    public class TabularTranslatorFactory
    extends ai.djl.translate.ExpansionTranslatorFactory<ListFeatures,​TabularResults>
    A TranslatorFactory to extend the TabularTranslator.
    • Nested Class Summary

      • Nested classes/interfaces inherited from class ai.djl.translate.ExpansionTranslatorFactory

        ai.djl.translate.ExpansionTranslatorFactory.TranslatorExpansion<IbaseT extends java.lang.Object,​ObaseT extends java.lang.Object>
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      protected ai.djl.translate.Translator<ListFeatures,​TabularResults> buildBaseTranslator​(ai.djl.Model model, java.util.Map<java.lang.String,​?> arguments)
      java.lang.Class<ListFeatures> getBaseInputType()
      java.lang.Class<TabularResults> getBaseOutputType()
      protected java.util.Map<java.lang.reflect.Type,​java.util.function.Function<ai.djl.translate.PostProcessor<TabularResults>,​ai.djl.translate.PostProcessor<?>>> getPostprocessorExpansions()
      protected java.util.Map<java.lang.reflect.Type,​java.util.function.Function<ai.djl.translate.PreProcessor<ListFeatures>,​ai.djl.translate.PreProcessor<?>>> getPreprocessorExpansions()
      • Methods inherited from class ai.djl.translate.ExpansionTranslatorFactory

        getExpansions, getSupportedTypes, newInstance, withTranslator
      • 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

      • TabularTranslatorFactory

        public TabularTranslatorFactory()
    • Method Detail

      • buildBaseTranslator

        protected ai.djl.translate.Translator<ListFeatures,​TabularResults> buildBaseTranslator​(ai.djl.Model model,
                                                                                                     java.util.Map<java.lang.String,​?> arguments)
        Specified by:
        buildBaseTranslator in class ai.djl.translate.ExpansionTranslatorFactory<ListFeatures,​TabularResults>
      • getBaseInputType

        public java.lang.Class<ListFeatures> getBaseInputType()
        Specified by:
        getBaseInputType in class ai.djl.translate.ExpansionTranslatorFactory<ListFeatures,​TabularResults>
      • getPreprocessorExpansions

        protected java.util.Map<java.lang.reflect.Type,​java.util.function.Function<ai.djl.translate.PreProcessor<ListFeatures>,​ai.djl.translate.PreProcessor<?>>> getPreprocessorExpansions()
        Overrides:
        getPreprocessorExpansions in class ai.djl.translate.ExpansionTranslatorFactory<ListFeatures,​TabularResults>
      • getPostprocessorExpansions

        protected java.util.Map<java.lang.reflect.Type,​java.util.function.Function<ai.djl.translate.PostProcessor<TabularResults>,​ai.djl.translate.PostProcessor<?>>> getPostprocessorExpansions()
        Overrides:
        getPostprocessorExpansions in class ai.djl.translate.ExpansionTranslatorFactory<ListFeatures,​TabularResults>