Interface Model.ModelProtoOrBuilder
- All Superinterfaces:
MessageLiteOrBuilder, MessageOrBuilder
- All Known Implementing Classes:
Model.ModelProto, Model.ModelProto.Builder
- Enclosing class:
Model
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsNodes(long key) Map of node IDs to nodes of this model.User-defined name for the dataset.User-defined name for the dataset.longgetGapTimes(int index) repeated uint64 gap_times = 6;intrepeated uint64 gap_times = 6;repeated uint64 gap_times = 6;longCounter for node IDs of this model.getNodes()Deprecated.intMap of node IDs to nodes of this model.Map of node IDs to nodes of this model.getNodesOrDefault(long key, Model.ModelProto.Node defaultValue) Map of node IDs to nodes of this model.getNodesOrThrow(long key) Map of node IDs to nodes of this model..tensorflow.data.model.ModelProto.OptimizationParams optimization_params = 5;.tensorflow.data.model.ModelProto.OptimizationParams optimization_params = 5;longID of the output node of this model.boolean.tensorflow.data.model.ModelProto.OptimizationParams optimization_params = 5;Methods inherited from interface MessageLiteOrBuilder
isInitialized
-
Method Details
-
getDatasetName
String getDatasetName()User-defined name for the dataset. Empty if no name was set.
string dataset_name = 7;- Returns:
- The datasetName.
-
getDatasetNameBytes
ByteString getDatasetNameBytes()User-defined name for the dataset. Empty if no name was set.
string dataset_name = 7;- Returns:
- The bytes for datasetName.
-
getNodesCount
int getNodesCount()Map of node IDs to nodes of this model.
map<int64, .tensorflow.data.model.ModelProto.Node> nodes = 1; -
containsNodes
boolean containsNodes(long key) Map of node IDs to nodes of this model.
map<int64, .tensorflow.data.model.ModelProto.Node> nodes = 1; -
getNodes
-
getNodesMap
Map<Long, Model.ModelProto.Node> getNodesMap()Map of node IDs to nodes of this model.
map<int64, .tensorflow.data.model.ModelProto.Node> nodes = 1; -
getNodesOrDefault
Map of node IDs to nodes of this model.
map<int64, .tensorflow.data.model.ModelProto.Node> nodes = 1; -
getNodesOrThrow
Map of node IDs to nodes of this model.
map<int64, .tensorflow.data.model.ModelProto.Node> nodes = 1; -
getOutput
long getOutput()ID of the output node of this model.
int64 output = 2;- Returns:
- The output.
-
getIdCounter
long getIdCounter()Counter for node IDs of this model.
int64 id_counter = 3;- Returns:
- The idCounter.
-
hasOptimizationParams
boolean hasOptimizationParams().tensorflow.data.model.ModelProto.OptimizationParams optimization_params = 5;- Returns:
- Whether the optimizationParams field is set.
-
getOptimizationParams
Model.ModelProto.OptimizationParams getOptimizationParams().tensorflow.data.model.ModelProto.OptimizationParams optimization_params = 5;- Returns:
- The optimizationParams.
-
getOptimizationParamsOrBuilder
Model.ModelProto.OptimizationParamsOrBuilder getOptimizationParamsOrBuilder().tensorflow.data.model.ModelProto.OptimizationParams optimization_params = 5; -
getGapTimesList
-
getGapTimesCount
int getGapTimesCount()repeated uint64 gap_times = 6;- Returns:
- The count of gapTimes.
-
getGapTimes
long getGapTimes(int index) repeated uint64 gap_times = 6;- Parameters:
index- The index of the element to return.- Returns:
- The gapTimes at the given index.
-