MetaGraphDef.Builder

public static final class MetaGraphDef.Builder

 NOTE: This protocol buffer is evolving, and will go through revisions in the
 coming months.
 Protocol buffer containing the following which are necessary to restart
 training, run inference. It can be used to serialize/de-serialize memory
 objects necessary for running computation in a graph when crossing the
 process boundary. It can be used for long term storage of graphs,
 cross-language execution of graphs, etc.
   MetaInfoDef
   GraphDef
   SaverDef
   CollectionDef
   TensorInfo
   SignatureDef
 
Protobuf type tensorflow.MetaGraphDef

Public Methods

MetaGraphDef.Builder
addAllAssetFileDef (Iterable<? extends AssetFileDef > values)
 Asset file def to be used with the defined graph.
MetaGraphDef.Builder
addAssetFileDef ( AssetFileDef.Builder builderForValue)
 Asset file def to be used with the defined graph.
MetaGraphDef.Builder
addAssetFileDef (int index, AssetFileDef value)
 Asset file def to be used with the defined graph.
MetaGraphDef.Builder
addAssetFileDef (int index, AssetFileDef.Builder builderForValue)
 Asset file def to be used with the defined graph.
MetaGraphDef.Builder
addAssetFileDef ( AssetFileDef value)
 Asset file def to be used with the defined graph.
AssetFileDef.Builder
addAssetFileDefBuilder (int index)
 Asset file def to be used with the defined graph.
AssetFileDef.Builder
addAssetFileDefBuilder ()
 Asset file def to be used with the defined graph.
MetaGraphDef.Builder
addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MetaGraphDef
MetaGraphDef
MetaGraphDef.Builder
MetaGraphDef.Builder
clearAssetFileDef ()
 Asset file def to be used with the defined graph.
MetaGraphDef.Builder
MetaGraphDef.Builder
clearField (com.google.protobuf.Descriptors.FieldDescriptor field)
MetaGraphDef.Builder
clearGraphDef ()
 GraphDef.
MetaGraphDef.Builder
clearMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
MetaGraphDef.Builder
clearObjectGraphDef ()
 Extra information about the structure of functions and stateful objects.
MetaGraphDef.Builder
clearOneof (com.google.protobuf.Descriptors.OneofDescriptor oneof)
MetaGraphDef.Builder
clearSaverDef ()
 SaverDef.
MetaGraphDef.Builder
MetaGraphDef.Builder
boolean
containsCollectionDef (String key)
 collection_def: Map from collection name to collections.
boolean
containsSignatureDef (String key)
 signature_def: Map from user supplied key for a signature to a single
 SignatureDef.
AssetFileDef
getAssetFileDef (int index)
 Asset file def to be used with the defined graph.
AssetFileDef.Builder
getAssetFileDefBuilder (int index)
 Asset file def to be used with the defined graph.
List< AssetFileDef.Builder >
getAssetFileDefBuilderList ()
 Asset file def to be used with the defined graph.
int
getAssetFileDefCount ()
 Asset file def to be used with the defined graph.
List< AssetFileDef >
getAssetFileDefList ()
 Asset file def to be used with the defined graph.
AssetFileDefOrBuilder
getAssetFileDefOrBuilder (int index)
 Asset file def to be used with the defined graph.
List<? extends AssetFileDefOrBuilder >
getAssetFileDefOrBuilderList ()
 Asset file def to be used with the defined graph.
Map<String, CollectionDef >
int
getCollectionDefCount ()
 collection_def: Map from collection name to collections.
Map<String, CollectionDef >
getCollectionDefMap ()
 collection_def: Map from collection name to collections.
CollectionDef
getCollectionDefOrDefault (String key, CollectionDef defaultValue)
 collection_def: Map from collection name to collections.
CollectionDef
getCollectionDefOrThrow (String key)
 collection_def: Map from collection name to collections.
MetaGraphDef
final static com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
GraphDef
getGraphDef ()
 GraphDef.
GraphDef.Builder
GraphDefOrBuilder
MetaGraphDef.MetaInfoDef
getMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
MetaGraphDef.MetaInfoDef.Builder
getMetaInfoDefBuilder ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
MetaGraphDef.MetaInfoDefOrBuilder
getMetaInfoDefOrBuilder ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
Map<String, CollectionDef >
getMutableCollectionDef ()
Use alternate mutation accessors instead.
Map<String, SignatureDef >
getMutableSignatureDef ()
Use alternate mutation accessors instead.
SavedObjectGraph
getObjectGraphDef ()
 Extra information about the structure of functions and stateful objects.
SavedObjectGraph.Builder
getObjectGraphDefBuilder ()
 Extra information about the structure of functions and stateful objects.
SavedObjectGraphOrBuilder
getObjectGraphDefOrBuilder ()
 Extra information about the structure of functions and stateful objects.
SaverDef
getSaverDef ()
 SaverDef.
SaverDef.Builder
SaverDefOrBuilder
Map<String, SignatureDef >
int
getSignatureDefCount ()
 signature_def: Map from user supplied key for a signature to a single
 SignatureDef.
Map<String, SignatureDef >
getSignatureDefMap ()
 signature_def: Map from user supplied key for a signature to a single
 SignatureDef.
SignatureDef
getSignatureDefOrDefault (String key, SignatureDef defaultValue)
 signature_def: Map from user supplied key for a signature to a single
 SignatureDef.
SignatureDef
getSignatureDefOrThrow (String key)
 signature_def: Map from user supplied key for a signature to a single
 SignatureDef.
boolean
hasGraphDef ()
 GraphDef.
boolean
hasMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
boolean
hasObjectGraphDef ()
 Extra information about the structure of functions and stateful objects.
boolean
hasSaverDef ()
 SaverDef.
final boolean
MetaGraphDef.Builder
mergeFrom (com.google.protobuf.Message other)
MetaGraphDef.Builder
mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
MetaGraphDef.Builder
mergeGraphDef ( GraphDef value)
 GraphDef.
MetaGraphDef.Builder
mergeMetaInfoDef ( MetaGraphDef.MetaInfoDef value)
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
MetaGraphDef.Builder
mergeObjectGraphDef ( SavedObjectGraph value)
 Extra information about the structure of functions and stateful objects.
MetaGraphDef.Builder
mergeSaverDef ( SaverDef value)
 SaverDef.
final MetaGraphDef.Builder
mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
MetaGraphDef.Builder
putAllCollectionDef (Map<String, CollectionDef > values)
 collection_def: Map from collection name to collections.
MetaGraphDef.Builder
putAllSignatureDef (Map<String, SignatureDef > values)
 signature_def: Map from user supplied key for a signature to a single
 SignatureDef.
MetaGraphDef.Builder
putCollectionDef (String key, CollectionDef value)
 collection_def: Map from collection name to collections.
MetaGraphDef.Builder
putSignatureDef (String key, SignatureDef value)
 signature_def: Map from user supplied key for a signature to a single
 SignatureDef.
MetaGraphDef.Builder
removeAssetFileDef (int index)
 Asset file def to be used with the defined graph.
MetaGraphDef.Builder
removeCollectionDef (String key)
 collection_def: Map from collection name to collections.
MetaGraphDef.Builder
removeSignatureDef (String key)
 signature_def: Map from user supplied key for a signature to a single
 SignatureDef.
MetaGraphDef.Builder
setAssetFileDef (int index, AssetFileDef value)
 Asset file def to be used with the defined graph.
MetaGraphDef.Builder
setAssetFileDef (int index, AssetFileDef.Builder builderForValue)
 Asset file def to be used with the defined graph.
MetaGraphDef.Builder
setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
MetaGraphDef.Builder
setGraphDef ( GraphDef.Builder builderForValue)
 GraphDef.
MetaGraphDef.Builder
setGraphDef ( GraphDef value)
 GraphDef.
MetaGraphDef.Builder
setMetaInfoDef ( MetaGraphDef.MetaInfoDef value)
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
MetaGraphDef.Builder
setMetaInfoDef ( MetaGraphDef.MetaInfoDef.Builder builderForValue)
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
MetaGraphDef.Builder
setObjectGraphDef ( SavedObjectGraph value)
 Extra information about the structure of functions and stateful objects.
MetaGraphDef.Builder
setObjectGraphDef ( SavedObjectGraph.Builder builderForValue)
 Extra information about the structure of functions and stateful objects.
MetaGraphDef.Builder
setRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
MetaGraphDef.Builder
setSaverDef ( SaverDef value)
 SaverDef.