public static interface
MetaGraphDef.MetaInfoDefOrBuilder
Known Indirect Subclasses |
Public Methods
abstract boolean |
containsFunctionAliases(String key)
FunctionDef name to aliases mapping. |
abstract com.google.protobuf.Any |
getAnyInfo()
A serialized protobuf. |
abstract com.google.protobuf.AnyOrBuilder |
getAnyInfoOrBuilder()
A serialized protobuf. |
abstract Map<String, String> |
getFunctionAliases()
Use
getFunctionAliasesMap() instead. |
abstract int |
getFunctionAliasesCount()
FunctionDef name to aliases mapping. |
abstract Map<String, String> |
getFunctionAliasesMap()
FunctionDef name to aliases mapping. |
abstract String |
getFunctionAliasesOrDefault(String key, String defaultValue)
FunctionDef name to aliases mapping. |
abstract String |
getFunctionAliasesOrThrow(String key)
FunctionDef name to aliases mapping. |
abstract String |
getMetaGraphVersion()
User specified Version string. |
abstract com.google.protobuf.ByteString |
getMetaGraphVersionBytes()
User specified Version string. |
abstract boolean |
getStrippedDefaultAttrs()
A flag to denote whether default-valued attrs have been stripped from the nodes in this graph_def. |
abstract OpList |
getStrippedOpList()
A copy of the OpDefs used by the producer of this graph_def. |
abstract OpListOrBuilder |
getStrippedOpListOrBuilder()
A copy of the OpDefs used by the producer of this graph_def. |
abstract String |
getTags(int index)
User supplied tag(s) on the meta_graph and included graph_def. |
abstract com.google.protobuf.ByteString |
getTagsBytes(int index)
User supplied tag(s) on the meta_graph and included graph_def. |
abstract int |
getTagsCount()
User supplied tag(s) on the meta_graph and included graph_def. |
abstract List<String> |
getTagsList()
User supplied tag(s) on the meta_graph and included graph_def. |
abstract String |
getTensorflowGitVersion()
The __git_version__ string of the tensorflow build used to write this graph. |
abstract com.google.protobuf.ByteString |
getTensorflowGitVersionBytes()
The __git_version__ string of the tensorflow build used to write this graph. |
abstract String |
getTensorflowVersion()
The __version__ string of the tensorflow build used to write this graph. |
abstract com.google.protobuf.ByteString |
getTensorflowVersionBytes()
The __version__ string of the tensorflow build used to write this graph. |
abstract boolean |
hasAnyInfo()
A serialized protobuf. |
abstract boolean |
hasStrippedOpList()
A copy of the OpDefs used by the producer of this graph_def. |
Public Methods
public abstract boolean containsFunctionAliases (String key)
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;
public abstract 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;
public abstract 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;
public abstract int getFunctionAliasesCount ()
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;
public abstract Map<String, String> getFunctionAliasesMap ()
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;
public abstract String getFunctionAliasesOrDefault (String key, String defaultValue)
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;
public abstract String getFunctionAliasesOrThrow (String key)
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;
public abstract 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;
public abstract 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;
public abstract 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;
public abstract 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;
public abstract 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;
public abstract 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;
public abstract 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;
public abstract 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;
public abstract List<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;
public abstract 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;
public abstract 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;
public abstract 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;
public abstract 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;
public abstract 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;
public abstract 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;