Package inference
Interface ModelConfigOuterClass.ModelWarmup.InputOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ModelConfigOuterClass.ModelWarmup.Input,ModelConfigOuterClass.ModelWarmup.Input.Builder
- Enclosing class:
ModelConfigOuterClass.ModelWarmup
public static interface ModelConfigOuterClass.ModelWarmup.InputOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription@@ ..int@@ ..longgetDims(int index) @@ ..int@@ ..@@ ..@@ ..com.google.protobuf.ByteString@@ ..boolean@@ @@ ..boolean@@ @@ ..boolean@@ ..boolean@@ @@ ..boolean@@ @@ ..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
-
getDataTypeValue
int getDataTypeValue()@@ .. cpp:var:: DataType data_type @@ @@ The data-type of the input. @@
.inference.DataType data_type = 1;- Returns:
- The enum numeric value on the wire for dataType.
-
getDataType
ModelConfigOuterClass.DataType getDataType()@@ .. cpp:var:: DataType data_type @@ @@ The data-type of the input. @@
.inference.DataType data_type = 1;- Returns:
- The dataType.
-
getDimsList
@@ .. cpp:var:: int64 dims (repeated) @@ @@ The shape of the input tensor, not including the batch dimension. @@
repeated int64 dims = 2;- Returns:
- A list containing the dims.
-
getDimsCount
int getDimsCount()@@ .. cpp:var:: int64 dims (repeated) @@ @@ The shape of the input tensor, not including the batch dimension. @@
repeated int64 dims = 2;- Returns:
- The count of dims.
-
getDims
long getDims(int index) @@ .. cpp:var:: int64 dims (repeated) @@ @@ The shape of the input tensor, not including the batch dimension. @@
repeated int64 dims = 2;- Parameters:
index- The index of the element to return.- Returns:
- The dims at the given index.
-
hasZeroData
boolean hasZeroData()@@ @@ .. cpp:var:: bool zero_data @@ @@ The identifier for using zeros as input data. Note that the @@ value of 'zero_data' will not be checked, instead, zero data @@ will be used as long as the field is set. @@
bool zero_data = 3;- Returns:
- Whether the zeroData field is set.
-
getZeroData
boolean getZeroData()@@ @@ .. cpp:var:: bool zero_data @@ @@ The identifier for using zeros as input data. Note that the @@ value of 'zero_data' will not be checked, instead, zero data @@ will be used as long as the field is set. @@
bool zero_data = 3;- Returns:
- The zeroData.
-
hasRandomData
boolean hasRandomData()@@ @@ .. cpp:var:: bool random_data @@ @@ The identifier for using random data as input data. Note that @@ the value of 'random_data' will not be checked, instead, @@ random data will be used as long as the field is set. @@
bool random_data = 4;- Returns:
- Whether the randomData field is set.
-
getRandomData
boolean getRandomData()@@ @@ .. cpp:var:: bool random_data @@ @@ The identifier for using random data as input data. Note that @@ the value of 'random_data' will not be checked, instead, @@ random data will be used as long as the field is set. @@
bool random_data = 4;- Returns:
- The randomData.
-
hasInputDataFile
boolean hasInputDataFile()@@ .. cpp:var:: string input_data_file @@ @@ The file whose content will be used as raw input data in @@ row-major order. The file must be provided in a sub-directory @@ 'warmup' under the model directory. The file contents should be @@ in binary format. For TYPE_STRING data-type, an element is @@ represented by a 4-byte unsigned integer giving the length @@ followed by the actual bytes. @@
string input_data_file = 5;- Returns:
- Whether the inputDataFile field is set.
-
getInputDataFile
String getInputDataFile()@@ .. cpp:var:: string input_data_file @@ @@ The file whose content will be used as raw input data in @@ row-major order. The file must be provided in a sub-directory @@ 'warmup' under the model directory. The file contents should be @@ in binary format. For TYPE_STRING data-type, an element is @@ represented by a 4-byte unsigned integer giving the length @@ followed by the actual bytes. @@
string input_data_file = 5;- Returns:
- The inputDataFile.
-
getInputDataFileBytes
com.google.protobuf.ByteString getInputDataFileBytes()@@ .. cpp:var:: string input_data_file @@ @@ The file whose content will be used as raw input data in @@ row-major order. The file must be provided in a sub-directory @@ 'warmup' under the model directory. The file contents should be @@ in binary format. For TYPE_STRING data-type, an element is @@ represented by a 4-byte unsigned integer giving the length @@ followed by the actual bytes. @@
string input_data_file = 5;- Returns:
- The bytes for inputDataFile.
-
getInputDataTypeCase
ModelConfigOuterClass.ModelWarmup.Input.InputDataTypeCase getInputDataTypeCase()
-