Package org.tensorflow.framework
Interface MetaGraphDef.MetaInfoDefOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetaGraphDef.MetaInfoDef,MetaGraphDef.MetaInfoDef.Builder
- Enclosing class:
- MetaGraphDef
public static interface MetaGraphDef.MetaInfoDefOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.AnygetAnyInfo()A serialized protobuf.com.google.protobuf.AnyOrBuildergetAnyInfoOrBuilder()A serialized protobuf.java.lang.StringgetMetaGraphVersion()User specified Version string.com.google.protobuf.ByteStringgetMetaGraphVersionBytes()User specified Version string.booleangetStrippedDefaultAttrs()A flag to denote whether default-valued attrs have been stripped from the nodes in this graph_def.OpListgetStrippedOpList()A copy of the OpDefs used by the producer of this graph_def.OpListOrBuildergetStrippedOpListOrBuilder()A copy of the OpDefs used by the producer of this graph_def.java.lang.StringgetTags(int index)User supplied tag(s) on the meta_graph and included graph_def.com.google.protobuf.ByteStringgetTagsBytes(int index)User supplied tag(s) on the meta_graph and included graph_def.intgetTagsCount()User supplied tag(s) on the meta_graph and included graph_def.java.util.List<java.lang.String>getTagsList()User supplied tag(s) on the meta_graph and included graph_def.java.lang.StringgetTensorflowGitVersion()The __git_version__ string of the tensorflow build used to write this graph.com.google.protobuf.ByteStringgetTensorflowGitVersionBytes()The __git_version__ string of the tensorflow build used to write this graph.java.lang.StringgetTensorflowVersion()The __version__ string of the tensorflow build used to write this graph.com.google.protobuf.ByteStringgetTensorflowVersionBytes()The __version__ string of the tensorflow build used to write this graph.booleanhasAnyInfo()A serialized protobuf.booleanhasStrippedOpList()A copy of the OpDefs used by the producer of this graph_def.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getMetaGraphVersion
java.lang.String getMetaGraphVersion()
User specified Version string. Can be the name of the model and revision, steps this model has been trained to, etc.
string meta_graph_version = 1;- Returns:
- The metaGraphVersion.
-
getMetaGraphVersionBytes
com.google.protobuf.ByteString getMetaGraphVersionBytes()
User specified Version string. Can be the name of the model and revision, steps this model has been trained to, etc.
string meta_graph_version = 1;- Returns:
- The bytes for metaGraphVersion.
-
hasStrippedOpList
boolean hasStrippedOpList()
A copy of the OpDefs used by the producer of this graph_def. Descriptions and Ops not used in graph_def are stripped out.
.tensorflow.OpList stripped_op_list = 2;- Returns:
- Whether the strippedOpList field is set.
-
getStrippedOpList
OpList getStrippedOpList()
A copy of the OpDefs used by the producer of this graph_def. Descriptions and Ops not used in graph_def are stripped out.
.tensorflow.OpList stripped_op_list = 2;- Returns:
- The strippedOpList.
-
getStrippedOpListOrBuilder
OpListOrBuilder getStrippedOpListOrBuilder()
A copy of the OpDefs used by the producer of this graph_def. Descriptions and Ops not used in graph_def are stripped out.
.tensorflow.OpList stripped_op_list = 2;
-
hasAnyInfo
boolean hasAnyInfo()
A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.
.google.protobuf.Any any_info = 3;- Returns:
- Whether the anyInfo field is set.
-
getAnyInfo
com.google.protobuf.Any getAnyInfo()
A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.
.google.protobuf.Any any_info = 3;- Returns:
- The anyInfo.
-
getAnyInfoOrBuilder
com.google.protobuf.AnyOrBuilder getAnyInfoOrBuilder()
A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.
.google.protobuf.Any any_info = 3;
-
getTagsList
java.util.List<java.lang.String> getTagsList()
User supplied tag(s) on the meta_graph and included graph_def. MetaGraphDefs should be tagged with their capabilities or use-cases. Examples: "train", "serve", "gpu", "tpu", etc. These tags enable loaders to access the MetaGraph(s) appropriate for a specific use-case or runtime environment.
repeated string tags = 4;- Returns:
- A list containing the tags.
-
getTagsCount
int getTagsCount()
User supplied tag(s) on the meta_graph and included graph_def. MetaGraphDefs should be tagged with their capabilities or use-cases. Examples: "train", "serve", "gpu", "tpu", etc. These tags enable loaders to access the MetaGraph(s) appropriate for a specific use-case or runtime environment.
repeated string tags = 4;- Returns:
- The count of tags.
-
getTags
java.lang.String getTags(int index)
User supplied tag(s) on the meta_graph and included graph_def. MetaGraphDefs should be tagged with their capabilities or use-cases. Examples: "train", "serve", "gpu", "tpu", etc. These tags enable loaders to access the MetaGraph(s) appropriate for a specific use-case or runtime environment.
repeated string tags = 4;- Parameters:
index- The index of the element to return.- Returns:
- The tags at the given index.
-
getTagsBytes
com.google.protobuf.ByteString getTagsBytes(int index)
User supplied tag(s) on the meta_graph and included graph_def. MetaGraphDefs should be tagged with their capabilities or use-cases. Examples: "train", "serve", "gpu", "tpu", etc. These tags enable loaders to access the MetaGraph(s) appropriate for a specific use-case or runtime environment.
repeated string tags = 4;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the tags at the given index.
-
getTensorflowVersion
java.lang.String getTensorflowVersion()
The __version__ string of the tensorflow build used to write this graph. This will be populated by the framework, which will overwrite any user supplied value.
string tensorflow_version = 5;- Returns:
- The tensorflowVersion.
-
getTensorflowVersionBytes
com.google.protobuf.ByteString getTensorflowVersionBytes()
The __version__ string of the tensorflow build used to write this graph. This will be populated by the framework, which will overwrite any user supplied value.
string tensorflow_version = 5;- Returns:
- The bytes for tensorflowVersion.
-
getTensorflowGitVersion
java.lang.String getTensorflowGitVersion()
The __git_version__ string of the tensorflow build used to write this graph. This will be populated by the framework, which will overwrite any user supplied value.
string tensorflow_git_version = 6;- Returns:
- The tensorflowGitVersion.
-
getTensorflowGitVersionBytes
com.google.protobuf.ByteString getTensorflowGitVersionBytes()
The __git_version__ string of the tensorflow build used to write this graph. This will be populated by the framework, which will overwrite any user supplied value.
string tensorflow_git_version = 6;- Returns:
- The bytes for tensorflowGitVersion.
-
getStrippedDefaultAttrs
boolean getStrippedDefaultAttrs()
A flag to denote whether default-valued attrs have been stripped from the nodes in this graph_def.
bool stripped_default_attrs = 7;- Returns:
- The strippedDefaultAttrs.
-
-