MetaGraphDef.MetaInfoDef

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.
 
Protobuf type tensorflow.MetaGraphDef.MetaInfoDef

Nested Classes

class MetaGraphDef.MetaInfoDef.Builder
 Meta information regarding the graph to be exported. 

Constants

int ANY_INFO_FIELD_NUMBER
int FUNCTION_ALIASES_FIELD_NUMBER
int META_GRAPH_VERSION_FIELD_NUMBER
int STRIPPED_DEFAULT_ATTRS_FIELD_NUMBER
int STRIPPED_OP_LIST_FIELD_NUMBER
int TAGS_FIELD_NUMBER
int TENSORFLOW_GIT_VERSION_FIELD_NUMBER
int TENSORFLOW_VERSION_FIELD_NUMBER

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>
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
final boolean
static MetaGraphDef.MetaInfoDef.Builder
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
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