Package inference

Interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
ModelConfigOuterClass.ModelEnsembling.Step, ModelConfigOuterClass.ModelEnsembling.Step.Builder
Enclosing class:
ModelConfigOuterClass.ModelEnsembling

public static interface ModelConfigOuterClass.ModelEnsembling.StepOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Details

    • getModelName

      String getModelName()
      @@  .. cpp:var:: string model_name
      @@
      @@     The name of the model to execute for this step of the ensemble.
      @@
       
      string model_name = 1;
      Returns:
      The modelName.
    • getModelNameBytes

      com.google.protobuf.ByteString getModelNameBytes()
      @@  .. cpp:var:: string model_name
      @@
      @@     The name of the model to execute for this step of the ensemble.
      @@
       
      string model_name = 1;
      Returns:
      The bytes for modelName.
    • getModelVersion

      long getModelVersion()
      @@  .. cpp:var:: int64 model_version
      @@
      @@     The version of the model to use for inference. If -1
      @@     the latest/most-recent version of the model is used.
      @@
       
      int64 model_version = 2;
      Returns:
      The modelVersion.
    • getInputMapCount

      int getInputMapCount()
      @@  .. cpp:var:: map<string,string> input_map
      @@
      @@     Map from name of an input tensor on this step's model to ensemble
      @@     tensor name. The ensemble tensor must have the same data type and
      @@     shape as the model input. Each model input must be assigned to
      @@     one ensemble tensor, but the same ensemble tensor can be assigned
      @@     to multiple model inputs.
      @@
       
      map<string, string> input_map = 3;
    • containsInputMap

      boolean containsInputMap(String key)
      @@  .. cpp:var:: map<string,string> input_map
      @@
      @@     Map from name of an input tensor on this step's model to ensemble
      @@     tensor name. The ensemble tensor must have the same data type and
      @@     shape as the model input. Each model input must be assigned to
      @@     one ensemble tensor, but the same ensemble tensor can be assigned
      @@     to multiple model inputs.
      @@
       
      map<string, string> input_map = 3;
    • getInputMap

      @Deprecated Map<String,String> getInputMap()
      Deprecated.
      Use getInputMapMap() instead.
    • getInputMapMap

      Map<String,String> getInputMapMap()
      @@  .. cpp:var:: map<string,string> input_map
      @@
      @@     Map from name of an input tensor on this step's model to ensemble
      @@     tensor name. The ensemble tensor must have the same data type and
      @@     shape as the model input. Each model input must be assigned to
      @@     one ensemble tensor, but the same ensemble tensor can be assigned
      @@     to multiple model inputs.
      @@
       
      map<string, string> input_map = 3;
    • getInputMapOrDefault

      String getInputMapOrDefault(String key, String defaultValue)
      @@  .. cpp:var:: map<string,string> input_map
      @@
      @@     Map from name of an input tensor on this step's model to ensemble
      @@     tensor name. The ensemble tensor must have the same data type and
      @@     shape as the model input. Each model input must be assigned to
      @@     one ensemble tensor, but the same ensemble tensor can be assigned
      @@     to multiple model inputs.
      @@
       
      map<string, string> input_map = 3;
    • getInputMapOrThrow

      String getInputMapOrThrow(String key)
      @@  .. cpp:var:: map<string,string> input_map
      @@
      @@     Map from name of an input tensor on this step's model to ensemble
      @@     tensor name. The ensemble tensor must have the same data type and
      @@     shape as the model input. Each model input must be assigned to
      @@     one ensemble tensor, but the same ensemble tensor can be assigned
      @@     to multiple model inputs.
      @@
       
      map<string, string> input_map = 3;
    • getOutputMapCount

      int getOutputMapCount()
      @@  .. cpp:var:: map<string,string> output_map
      @@
      @@     Map from name of an output tensor on this step's model to ensemble
      @@     tensor name. The data type and shape of the ensemble tensor will
      @@     be inferred from the model output. It is optional to assign all
      @@     model outputs to ensemble tensors. One ensemble tensor name
      @@     can appear in an output map only once.
      @@
       
      map<string, string> output_map = 4;
    • containsOutputMap

      boolean containsOutputMap(String key)
      @@  .. cpp:var:: map<string,string> output_map
      @@
      @@     Map from name of an output tensor on this step's model to ensemble
      @@     tensor name. The data type and shape of the ensemble tensor will
      @@     be inferred from the model output. It is optional to assign all
      @@     model outputs to ensemble tensors. One ensemble tensor name
      @@     can appear in an output map only once.
      @@
       
      map<string, string> output_map = 4;
    • getOutputMap

      @Deprecated Map<String,String> getOutputMap()
      Deprecated.
      Use getOutputMapMap() instead.
    • getOutputMapMap

      Map<String,String> getOutputMapMap()
      @@  .. cpp:var:: map<string,string> output_map
      @@
      @@     Map from name of an output tensor on this step's model to ensemble
      @@     tensor name. The data type and shape of the ensemble tensor will
      @@     be inferred from the model output. It is optional to assign all
      @@     model outputs to ensemble tensors. One ensemble tensor name
      @@     can appear in an output map only once.
      @@
       
      map<string, string> output_map = 4;
    • getOutputMapOrDefault

      String getOutputMapOrDefault(String key, String defaultValue)
      @@  .. cpp:var:: map<string,string> output_map
      @@
      @@     Map from name of an output tensor on this step's model to ensemble
      @@     tensor name. The data type and shape of the ensemble tensor will
      @@     be inferred from the model output. It is optional to assign all
      @@     model outputs to ensemble tensors. One ensemble tensor name
      @@     can appear in an output map only once.
      @@
       
      map<string, string> output_map = 4;
    • getOutputMapOrThrow

      String getOutputMapOrThrow(String key)
      @@  .. cpp:var:: map<string,string> output_map
      @@
      @@     Map from name of an output tensor on this step's model to ensemble
      @@     tensor name. The data type and shape of the ensemble tensor will
      @@     be inferred from the model output. It is optional to assign all
      @@     model outputs to ensemble tensors. One ensemble tensor name
      @@     can appear in an output map only once.
      @@
       
      map<string, string> output_map = 4;
    • getModelNamespace

      String getModelNamespace()
      @@  .. cpp:var:: string model_namespace
      @@
      @@     [RESERVED] currently this field is reserved for internal use, users
      @@     must not set any value to this field to avoid unexpected behavior.
      @@
       
      string model_namespace = 5;
      Returns:
      The modelNamespace.
    • getModelNamespaceBytes

      com.google.protobuf.ByteString getModelNamespaceBytes()
      @@  .. cpp:var:: string model_namespace
      @@
      @@     [RESERVED] currently this field is reserved for internal use, users
      @@     must not set any value to this field to avoid unexpected behavior.
      @@
       
      string model_namespace = 5;
      Returns:
      The bytes for modelNamespace.