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 Summary
Modifier and TypeMethodDescription@@ ..int@@ ..getKind()@@ ..int@@ ..getSourceInput(int index) @@ ..com.google.protobuf.ByteStringgetSourceInputBytes(int index) @@ ..int@@ ..@@ ..getTargetName(int index) @@ ..com.google.protobuf.ByteStringgetTargetNameBytes(int index) @@ ..int@@ ..@@ ..Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
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
ModelConfigOuterClass.BatchInput.Kind getKind()@@ .. cpp:var:: Kind kind @@ @@ The kind of this batch input. @@
.inference.BatchInput.Kind kind = 1;- Returns:
- The kind.
-
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
@@ .. 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
ModelConfigOuterClass.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
@@ .. 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
@@ .. 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.
-