MetaGraphDef.MetaInfoDef.Builder

public static final class MetaGraphDef.MetaInfoDef.Builder

 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

Public Methods

MetaGraphDef.MetaInfoDef.Builder
addAllTags (Iterable<String> values)
 User supplied tag(s) on the meta_graph and included graph_def.
MetaGraphDef.MetaInfoDef.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MetaGraphDef.MetaInfoDef.Builder
addTags (String value)
 User supplied tag(s) on the meta_graph and included graph_def.
MetaGraphDef.MetaInfoDef.Builder
addTagsBytes (com.google.protobuf.ByteString value)
 User supplied tag(s) on the meta_graph and included graph_def.
MetaGraphDef.MetaInfoDef
MetaGraphDef.MetaInfoDef
MetaGraphDef.MetaInfoDef.Builder
MetaGraphDef.MetaInfoDef.Builder
clearAnyInfo ()
 A serialized protobuf.
MetaGraphDef.MetaInfoDef.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
MetaGraphDef.MetaInfoDef.Builder
MetaGraphDef.MetaInfoDef.Builder
clearMetaGraphVersion ()
 User specified Version string.
MetaGraphDef.MetaInfoDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
MetaGraphDef.MetaInfoDef.Builder
clearStrippedDefaultAttrs ()
 A flag to denote whether default-valued attrs have been stripped from
 the nodes in this graph_def.
MetaGraphDef.MetaInfoDef.Builder
clearStrippedOpList ()
 A copy of the OpDefs used by the producer of this graph_def.
MetaGraphDef.MetaInfoDef.Builder
clearTags ()
 User supplied tag(s) on the meta_graph and included graph_def.
MetaGraphDef.MetaInfoDef.Builder
clearTensorflowGitVersion ()
 The __git_version__ string of the tensorflow build used to write this
 graph.
MetaGraphDef.MetaInfoDef.Builder
clearTensorflowVersion ()
 The __version__ string of the tensorflow build used to write this graph.
MetaGraphDef.MetaInfoDef.Builder
boolean
containsFunctionAliases (String key)
 FunctionDef name to aliases mapping.
com.google.protobuf.Any
getAnyInfo ()
 A serialized protobuf.
com.google.protobuf.Any.Builder
getAnyInfoBuilder ()
 A serialized protobuf.
com.google.protobuf.AnyOrBuilder
getAnyInfoOrBuilder ()
 A serialized protobuf.
MetaGraphDef.MetaInfoDef
final static com.google.protobuf.Descriptors.Descriptor
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.
Map<String, String>
getMutableFunctionAliases ()
Use alternate mutation accessors instead.
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.
OpList.Builder
getStrippedOpListBuilder ()
 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.
boolean
hasAnyInfo ()
 A serialized protobuf.
boolean
hasStrippedOpList ()
 A copy of the OpDefs used by the producer of this graph_def.
final boolean
MetaGraphDef.MetaInfoDef.Builder
mergeAnyInfo (com.google.protobuf.Any value)
 A serialized protobuf.
MetaGraphDef.MetaInfoDef.Builder
mergeFrom (com.google.protobuf.Message other)
MetaGraphDef.MetaInfoDef.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MetaGraphDef.MetaInfoDef.Builder
mergeStrippedOpList ( OpList value)
 A copy of the OpDefs used by the producer of this graph_def.
final MetaGraphDef.MetaInfoDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
MetaGraphDef.MetaInfoDef.Builder
putAllFunctionAliases (Map<String, String> values)
 FunctionDef name to aliases mapping.
MetaGraphDef.MetaInfoDef.Builder
putFunctionAliases (String key, String value)
 FunctionDef name to aliases mapping.
MetaGraphDef.MetaInfoDef.Builder
removeFunctionAliases (String key)
 FunctionDef name to aliases mapping.
MetaGraphDef.MetaInfoDef.Builder
setAnyInfo (com.google.protobuf.Any value)
 A serialized protobuf.
MetaGraphDef.MetaInfoDef.Builder
setAnyInfo (com.google.protobuf.Any.Builder builderForValue)
 A serialized protobuf.
MetaGraphDef.MetaInfoDef.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MetaGraphDef.MetaInfoDef.Builder
setMetaGraphVersion (String value)
 User specified Version string.
MetaGraphDef.MetaInfoDef.Builder
setMetaGraphVersionBytes (com.google.protobuf.ByteString value)
 User specified Version string.
MetaGraphDef.MetaInfoDef.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
MetaGraphDef.MetaInfoDef.Builder
setStrippedDefaultAttrs (boolean value)
 A flag to denote whether default-valued attrs have been stripped from
 the nodes in this graph_def.
MetaGraphDef.MetaInfoDef.Builder
setStrippedOpList ( OpList value)
 A copy of the OpDefs used by the producer of this graph_def.
MetaGraphDef.MetaInfoDef.Builder
setStrippedOpList ( OpList.Builder builderForValue)
 A copy of the OpDefs used by the producer of this graph_def.
MetaGraphDef.MetaInfoDef.Builder
setTags (int index, String value)
 User supplied tag(s) on the meta_graph and included graph_def.
MetaGraphDef.MetaInfoDef.Builder
setTensorflowGitVersion (String value)
 The __git_version__ string of the tensorflow build used to write this
 graph.
MetaGraphDef.MetaInfoDef.Builder
setTensorflowGitVersionBytes (com.google.protobuf.ByteString value)
 The __git_version__ string of the tensorflow build used to write this
 graph.
MetaGraphDef.MetaInfoDef.Builder
setTensorflowVersion (String value)
 The __version__ string of the tensorflow build used to write this graph.
MetaGraphDef.MetaInfoDef.Builder
setTensorflowVersionBytes (com.google.protobuf.ByteString value)
 The __version__ string of the tensorflow build used to write this graph.
final MetaGraphDef.MetaInfoDef.Builder
setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)

Inherited Methods