Class FileDistributedOnnxModels

java.lang.Object
com.yahoo.schema.derived.Derived
com.yahoo.schema.derived.FileDistributedOnnxModels
All Implemented Interfaces:
com.yahoo.config.ConfigInstance.Producer, Exportable, com.yahoo.vespa.config.search.core.OnnxModelsConfig.Producer

public class FileDistributedOnnxModels extends Derived implements com.yahoo.vespa.config.search.core.OnnxModelsConfig.Producer
ONNX models distributed as files.
Author:
bratseth
  • Constructor Details

    • FileDistributedOnnxModels

      public FileDistributedOnnxModels(com.yahoo.config.application.api.FileRegistry fileRegistry, Collection<OnnxModel> models)
  • Method Details

    • getDerivedName

      public String getDerivedName()
      Specified by:
      getDerivedName in class Derived
    • asMap

      public Map<String,OnnxModel> asMap()
    • getConfig

      public void getConfig(com.yahoo.vespa.config.search.core.OnnxModelsConfig.Builder builder)
      Specified by:
      getConfig in interface com.yahoo.vespa.config.search.core.OnnxModelsConfig.Producer