public static final class
MetaGraphDef.MetaInfoDef
Meta information regarding the graph to be exported. To be used by users of this protocol buffer to encode information regarding their meta graph.
tensorflow.MetaGraphDef.MetaInfoDef
Nested Classes
class | MetaGraphDef.MetaInfoDef.Builder | Meta information regarding the graph to be exported. |
Constants
Public Methods
boolean |
containsFunctionAliases(String key)
FunctionDef name to aliases mapping. |
boolean |
equals(Object obj)
|
com.google.protobuf.Any |
getAnyInfo()
A serialized protobuf. |
com.google.protobuf.AnyOrBuilder |
getAnyInfoOrBuilder()
A serialized protobuf. |
static MetaGraphDef.MetaInfoDef | |
MetaGraphDef.MetaInfoDef | |
final static com.google.protobuf.Descriptors.Descriptor | |
Map<String, String> |
getFunctionAliases()
Use
getFunctionAliasesMap() instead. |
int |
getFunctionAliasesCount()
FunctionDef name to aliases mapping. |
Map<String, String> |
getFunctionAliasesMap()
FunctionDef name to aliases mapping. |
String |
getFunctionAliasesOrDefault(String key, String defaultValue)
FunctionDef name to aliases mapping. |
String |
getFunctionAliasesOrThrow(String key)
FunctionDef name to aliases mapping. |
String |
getMetaGraphVersion()
User specified Version string. |
com.google.protobuf.ByteString |
getMetaGraphVersionBytes()
User specified Version string. |
|
|
int | |
boolean |
getStrippedDefaultAttrs()
A flag to denote whether default-valued attrs have been stripped from the nodes in this graph_def. |
OpList |
getStrippedOpList()
A copy of the OpDefs used by the producer of this graph_def. |
OpListOrBuilder |
getStrippedOpListOrBuilder()
A copy of the OpDefs used by the producer of this graph_def. |
String |
getTags(int index)
User supplied tag(s) on the meta_graph and included graph_def. |
com.google.protobuf.ByteString |
getTagsBytes(int index)
User supplied tag(s) on the meta_graph and included graph_def. |
int |
getTagsCount()
User supplied tag(s) on the meta_graph and included graph_def. |
com.google.protobuf.ProtocolStringList |
getTagsList()
User supplied tag(s) on the meta_graph and included graph_def. |
String |
getTensorflowGitVersion()
The __git_version__ string of the tensorflow build used to write this graph. |
com.google.protobuf.ByteString |
getTensorflowGitVersionBytes()
The __git_version__ string of the tensorflow build used to write this graph. |
String |
getTensorflowVersion()
The __version__ string of the tensorflow build used to write this graph. |
com.google.protobuf.ByteString |
getTensorflowVersionBytes()
The __version__ string of the tensorflow build used to write this graph. |
final com.google.protobuf.UnknownFieldSet | |
boolean |
hasAnyInfo()
A serialized protobuf. |
boolean |
hasStrippedOpList()
A copy of the OpDefs used by the producer of this graph_def. |
int |
hashCode()
|
final boolean | |
static MetaGraphDef.MetaInfoDef.Builder |
newBuilder(MetaGraphDef.MetaInfoDef prototype)
|
static MetaGraphDef.MetaInfoDef.Builder | |
MetaGraphDef.MetaInfoDef.Builder | |
static MetaGraphDef.MetaInfoDef |
parseDelimitedFrom(InputStream input)
|
static MetaGraphDef.MetaInfoDef |
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static MetaGraphDef.MetaInfoDef |
parseFrom(ByteBuffer data)
|
static MetaGraphDef.MetaInfoDef |
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static MetaGraphDef.MetaInfoDef |
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static MetaGraphDef.MetaInfoDef |
parseFrom(com.google.protobuf.CodedInputStream input)
|
static MetaGraphDef.MetaInfoDef |
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static MetaGraphDef.MetaInfoDef |
parseFrom(com.google.protobuf.ByteString data)
|
static MetaGraphDef.MetaInfoDef |
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static MetaGraphDef.MetaInfoDef |
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
static
|
parser()
|
MetaGraphDef.MetaInfoDef.Builder | |
void |
writeTo(com.google.protobuf.CodedOutputStream output)
|
Inherited Methods
Constants
public static final int ANY_INFO_FIELD_NUMBER
Constant Value:
3
public static final int FUNCTION_ALIASES_FIELD_NUMBER
Constant Value:
8
public static final int META_GRAPH_VERSION_FIELD_NUMBER
Constant Value:
1
public static final int STRIPPED_DEFAULT_ATTRS_FIELD_NUMBER
Constant Value:
7
public static final int STRIPPED_OP_LIST_FIELD_NUMBER
Constant Value:
2
public static final int TAGS_FIELD_NUMBER
Constant Value:
4
public static final int TENSORFLOW_GIT_VERSION_FIELD_NUMBER
Constant Value:
6
public static final int TENSORFLOW_VERSION_FIELD_NUMBER
Constant Value:
5
Public Methods
public boolean containsFunctionAliases (String key)
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;
public boolean equals (Object obj)
public 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 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 static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public int getFunctionAliasesCount ()
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;
public Map<String, String> getFunctionAliasesMap ()
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;
public String getFunctionAliasesOrDefault (String key, String defaultValue)
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;
public String getFunctionAliasesOrThrow (String key)
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;
public 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 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
getParserForType
()
public int getSerializedSize ()
public 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 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 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 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 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 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 com.google.protobuf.ProtocolStringList 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 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 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 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 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 final com.google.protobuf.UnknownFieldSet getUnknownFields ()
public 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 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;
public int hashCode ()
public final boolean isInitialized ()
public static MetaGraphDef.MetaInfoDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static MetaGraphDef.MetaInfoDef parseFrom (ByteBuffer data)
Throws
InvalidProtocolBufferException |
---|
public static MetaGraphDef.MetaInfoDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static MetaGraphDef.MetaInfoDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static MetaGraphDef.MetaInfoDef parseFrom (com.google.protobuf.CodedInputStream input)
Throws
IOException |
---|
public static MetaGraphDef.MetaInfoDef parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public static MetaGraphDef.MetaInfoDef parseFrom (com.google.protobuf.ByteString data)
Throws
InvalidProtocolBufferException |
---|
public static MetaGraphDef.MetaInfoDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public static MetaGraphDef.MetaInfoDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
InvalidProtocolBufferException |
---|
public
static
parser
()
public void writeTo (com.google.protobuf.CodedOutputStream output)
Throws
IOException |
---|