Package inference

Interface ModelConfigOuterClass.BatchInputOrBuilder

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

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

    • getKindValue

      int getKindValue()
      @@    .. cpp:var:: Kind kind
      @@
      @@       The kind of this batch input.
      @@
       
      .inference.BatchInput.Kind kind = 1;
      Returns:
      The enum numeric value on the wire for kind.
    • getKind

      @@    .. cpp:var:: Kind kind
      @@
      @@       The kind of this batch input.
      @@
       
      .inference.BatchInput.Kind kind = 1;
      Returns:
      The kind.
    • getTargetNameList

      List<String> getTargetNameList()
      @@    .. cpp:var:: string target_name (repeated)
      @@
      @@       The name of the model inputs that the backend will create
      @@       for this batch input.
      @@
       
      repeated string target_name = 2;
      Returns:
      A list containing the targetName.
    • getTargetNameCount

      int getTargetNameCount()
      @@    .. cpp:var:: string target_name (repeated)
      @@
      @@       The name of the model inputs that the backend will create
      @@       for this batch input.
      @@
       
      repeated string target_name = 2;
      Returns:
      The count of targetName.
    • getTargetName

      String getTargetName(int index)
      @@    .. cpp:var:: string target_name (repeated)
      @@
      @@       The name of the model inputs that the backend will create
      @@       for this batch input.
      @@
       
      repeated string target_name = 2;
      Parameters:
      index - The index of the element to return.
      Returns:
      The targetName at the given index.
    • getTargetNameBytes

      com.google.protobuf.ByteString getTargetNameBytes(int index)
      @@    .. cpp:var:: string target_name (repeated)
      @@
      @@       The name of the model inputs that the backend will create
      @@       for this batch input.
      @@
       
      repeated string target_name = 2;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the targetName at the given index.
    • getDataTypeValue

      int getDataTypeValue()
      @@    .. cpp:var:: DataType data_type
      @@
      @@       The input's datatype. The data type can be TYPE_INT32 or
      @@       TYPE_FP32.
      @@
       
      .inference.DataType data_type = 3;
      Returns:
      The enum numeric value on the wire for dataType.
    • getDataType

      @@    .. cpp:var:: DataType data_type
      @@
      @@       The input's datatype. The data type can be TYPE_INT32 or
      @@       TYPE_FP32.
      @@
       
      .inference.DataType data_type = 3;
      Returns:
      The dataType.
    • getSourceInputList

      List<String> getSourceInputList()
      @@    .. cpp:var:: string source_input (repeated)
      @@
      @@       The backend derives the value for each batch input from one or
      @@       more other inputs. 'source_input' gives the names of those
      @@       inputs.
      @@
       
      repeated string source_input = 4;
      Returns:
      A list containing the sourceInput.
    • getSourceInputCount

      int getSourceInputCount()
      @@    .. cpp:var:: string source_input (repeated)
      @@
      @@       The backend derives the value for each batch input from one or
      @@       more other inputs. 'source_input' gives the names of those
      @@       inputs.
      @@
       
      repeated string source_input = 4;
      Returns:
      The count of sourceInput.
    • getSourceInput

      String getSourceInput(int index)
      @@    .. cpp:var:: string source_input (repeated)
      @@
      @@       The backend derives the value for each batch input from one or
      @@       more other inputs. 'source_input' gives the names of those
      @@       inputs.
      @@
       
      repeated string source_input = 4;
      Parameters:
      index - The index of the element to return.
      Returns:
      The sourceInput at the given index.
    • getSourceInputBytes

      com.google.protobuf.ByteString getSourceInputBytes(int index)
      @@    .. cpp:var:: string source_input (repeated)
      @@
      @@       The backend derives the value for each batch input from one or
      @@       more other inputs. 'source_input' gives the names of those
      @@       inputs.
      @@
       
      repeated string source_input = 4;
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the sourceInput at the given index.