Class InstanceSegmentationTranslatorFactory

    • Constructor Detail

      • InstanceSegmentationTranslatorFactory

        public InstanceSegmentationTranslatorFactory()
    • Method Detail

      • newInstance

        public <I,​O> Translator<I,​O> newInstance​(java.lang.Class<I> input,
                                                             java.lang.Class<O> output,
                                                             Model model,
                                                             java.util.Map<java.lang.String,​?> arguments)
        Returns a new instance of the Translator class.
        Type Parameters:
        I - the input data type
        O - the output data type
        Parameters:
        input - the input class
        output - the output class
        model - the Model that uses the Translator
        arguments - the configurations for a new Translator instance
        Returns:
        a new instance of the Translator class