Package inference
Interface ModelConfigOuterClass.ModelSequenceBatching.InitialStateOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ModelConfigOuterClass.ModelSequenceBatching.InitialState,ModelConfigOuterClass.ModelSequenceBatching.InitialState.Builder
- Enclosing class:
ModelConfigOuterClass.ModelSequenceBatching
public static interface ModelConfigOuterClass.ModelSequenceBatching.InitialStateOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
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 state. @@
.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 state. @@
.inference.DataType data_type = 1;- Returns:
- The dataType.
-
getDimsList
@@ .. cpp:var:: int64 dims (repeated) @@ @@ The shape of the state 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 state 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 state 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 initial state 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 initial state 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.
-
hasDataFile
boolean hasDataFile()@@ .. cpp:var:: string data_file @@ @@ The file whose content will be used as the initial data for @@ the state in row-major order. The file must be provided in @@ sub-directory 'initial_state' under the model directory. @@
string data_file = 4;- Returns:
- Whether the dataFile field is set.
-
getDataFile
String getDataFile()@@ .. cpp:var:: string data_file @@ @@ The file whose content will be used as the initial data for @@ the state in row-major order. The file must be provided in @@ sub-directory 'initial_state' under the model directory. @@
string data_file = 4;- Returns:
- The dataFile.
-
getDataFileBytes
com.google.protobuf.ByteString getDataFileBytes()@@ .. cpp:var:: string data_file @@ @@ The file whose content will be used as the initial data for @@ the state in row-major order. The file must be provided in @@ sub-directory 'initial_state' under the model directory. @@
string data_file = 4;- Returns:
- The bytes for dataFile.
-
getName
String getName()@@ .. cpp:var:: string name @@ @@ The name of the state initialization. @@
string name = 5;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()@@ .. cpp:var:: string name @@ @@ The name of the state initialization. @@
string name = 5;- Returns:
- The bytes for name.
-
getStateDataCase
ModelConfigOuterClass.ModelSequenceBatching.InitialState.StateDataCase getStateDataCase()
-