Class Model.ModelProto
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
org.tensorflow.proto.data.model.Model.ModelProto
- All Implemented Interfaces:
Message, MessageLite, MessageLiteOrBuilder, MessageOrBuilder, Serializable, Model.ModelProtoOrBuilder
- Enclosing class:
Model
public static final class Model.ModelProto
extends GeneratedMessageV3
implements Model.ModelProtoOrBuilder
Protocol buffer representing the data used by the autotuning modeling framework.Protobuf type
tensorflow.data.model.ModelProto- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classProtocol buffer representing the data used by the autotuning modeling framework.static final classGeneral representation of a node in the model.static interfacestatic final classContains parameters of the model autotuning optimization.static interfaceNested classes/interfaces inherited from class GeneratedMessageV3
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType, BuilderType>, GeneratedMessageV3.ExtendableMessage<MessageType>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterNested classes/interfaces inherited from class AbstractMessageLite
AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class AbstractMessage
memoizedSizeFields inherited from class AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsNodes(long key) Map of node IDs to nodes of this model.booleanUser-defined name for the dataset.User-defined name for the dataset.static Model.ModelProtostatic final Descriptors.DescriptorlonggetGapTimes(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.intfinal UnknownFieldSetinthashCode()boolean.tensorflow.data.model.ModelProto.OptimizationParams optimization_params = 5;protected GeneratedMessageV3.FieldAccessorTableprotected MapFieldinternalGetMapField(int number) final booleanstatic Model.ModelProto.Builderstatic Model.ModelProto.BuildernewBuilder(Model.ModelProto prototype) protected Model.ModelProto.Builderprotected Objectstatic Model.ModelProtoparseDelimitedFrom(InputStream input) static Model.ModelProtoparseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static Model.ModelProtoparseFrom(byte[] data) static Model.ModelProtoparseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) static Model.ModelProtoparseFrom(ByteString data) static Model.ModelProtoparseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) static Model.ModelProtoparseFrom(CodedInputStream input) static Model.ModelProtoparseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) static Model.ModelProtoparseFrom(InputStream input) static Model.ModelProtoparseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) static Model.ModelProtoparseFrom(ByteBuffer data) static Model.ModelProtoparseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) static Parser<Model.ModelProto> parser()voidwriteTo(CodedOutputStream output) Methods inherited from class GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
-
Field Details
-
DATASET_NAME_FIELD_NUMBER
public static final int DATASET_NAME_FIELD_NUMBER- See Also:
-
NODES_FIELD_NUMBER
public static final int NODES_FIELD_NUMBER- See Also:
-
OUTPUT_FIELD_NUMBER
public static final int OUTPUT_FIELD_NUMBER- See Also:
-
ID_COUNTER_FIELD_NUMBER
public static final int ID_COUNTER_FIELD_NUMBER- See Also:
-
OPTIMIZATION_PARAMS_FIELD_NUMBER
public static final int OPTIMIZATION_PARAMS_FIELD_NUMBER- See Also:
-
GAP_TIMES_FIELD_NUMBER
public static final int GAP_TIMES_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classGeneratedMessageV3
-
getUnknownFields
- Specified by:
getUnknownFieldsin interfaceMessageOrBuilder- Overrides:
getUnknownFieldsin classGeneratedMessageV3
-
getDescriptor
-
internalGetMapField
- Overrides:
internalGetMapFieldin classGeneratedMessageV3
-
internalGetFieldAccessorTable
- Specified by:
internalGetFieldAccessorTablein classGeneratedMessageV3
-
getDatasetName
User-defined name for the dataset. Empty if no name was set.
string dataset_name = 7;- Specified by:
getDatasetNamein interfaceModel.ModelProtoOrBuilder- Returns:
- The datasetName.
-
getDatasetNameBytes
User-defined name for the dataset. Empty if no name was set.
string dataset_name = 7;- Specified by:
getDatasetNameBytesin interfaceModel.ModelProtoOrBuilder- Returns:
- The bytes for datasetName.
-
getNodesCount
public int getNodesCount()Description copied from interface:Model.ModelProtoOrBuilderMap of node IDs to nodes of this model.
map<int64, .tensorflow.data.model.ModelProto.Node> nodes = 1;- Specified by:
getNodesCountin interfaceModel.ModelProtoOrBuilder
-
containsNodes
public boolean containsNodes(long key) Map of node IDs to nodes of this model.
map<int64, .tensorflow.data.model.ModelProto.Node> nodes = 1;- Specified by:
containsNodesin interfaceModel.ModelProtoOrBuilder
-
getNodes
Deprecated.UsegetNodesMap()instead.- Specified by:
getNodesin interfaceModel.ModelProtoOrBuilder
-
getNodesMap
Map of node IDs to nodes of this model.
map<int64, .tensorflow.data.model.ModelProto.Node> nodes = 1;- Specified by:
getNodesMapin interfaceModel.ModelProtoOrBuilder
-
getNodesOrDefault
Map of node IDs to nodes of this model.
map<int64, .tensorflow.data.model.ModelProto.Node> nodes = 1;- Specified by:
getNodesOrDefaultin interfaceModel.ModelProtoOrBuilder
-
getNodesOrThrow
Map of node IDs to nodes of this model.
map<int64, .tensorflow.data.model.ModelProto.Node> nodes = 1;- Specified by:
getNodesOrThrowin interfaceModel.ModelProtoOrBuilder
-
getOutput
public long getOutput()ID of the output node of this model.
int64 output = 2;- Specified by:
getOutputin interfaceModel.ModelProtoOrBuilder- Returns:
- The output.
-
getIdCounter
public long getIdCounter()Counter for node IDs of this model.
int64 id_counter = 3;- Specified by:
getIdCounterin interfaceModel.ModelProtoOrBuilder- Returns:
- The idCounter.
-
hasOptimizationParams
public boolean hasOptimizationParams().tensorflow.data.model.ModelProto.OptimizationParams optimization_params = 5;- Specified by:
hasOptimizationParamsin interfaceModel.ModelProtoOrBuilder- Returns:
- Whether the optimizationParams field is set.
-
getOptimizationParams
.tensorflow.data.model.ModelProto.OptimizationParams optimization_params = 5;- Specified by:
getOptimizationParamsin interfaceModel.ModelProtoOrBuilder- Returns:
- The optimizationParams.
-
getOptimizationParamsOrBuilder
.tensorflow.data.model.ModelProto.OptimizationParams optimization_params = 5;- Specified by:
getOptimizationParamsOrBuilderin interfaceModel.ModelProtoOrBuilder
-
getGapTimesList
repeated uint64 gap_times = 6;- Specified by:
getGapTimesListin interfaceModel.ModelProtoOrBuilder- Returns:
- A list containing the gapTimes.
-
getGapTimesCount
public int getGapTimesCount()repeated uint64 gap_times = 6;- Specified by:
getGapTimesCountin interfaceModel.ModelProtoOrBuilder- Returns:
- The count of gapTimes.
-
getGapTimes
public long getGapTimes(int index) repeated uint64 gap_times = 6;- Specified by:
getGapTimesin interfaceModel.ModelProtoOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The gapTimes at the given index.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfaceMessageLiteOrBuilder- Overrides:
isInitializedin classGeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfaceMessageLite- Overrides:
writeToin classGeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfaceMessageLite- Overrides:
getSerializedSizein classGeneratedMessageV3
-
equals
- Specified by:
equalsin interfaceMessage- Overrides:
equalsin classAbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfaceMessage- Overrides:
hashCodein classAbstractMessage
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Model.ModelProto parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Model.ModelProto parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
InvalidProtocolBufferException
-
parseFrom
public static Model.ModelProto parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException - Throws:
InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Model.ModelProto parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static Model.ModelProto parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static Model.ModelProto parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfaceMessage- Specified by:
newBuilderForTypein interfaceMessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfaceMessage- Specified by:
toBuilderin interfaceMessageLite
-
newBuilderForType
- Specified by:
newBuilderForTypein classGeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfaceMessage- Specified by:
getParserForTypein interfaceMessageLite- Overrides:
getParserForTypein classGeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfaceMessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceMessageOrBuilder
-