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
tensorflow.MetaGraphDef
type tensorflow.MetaGraphDef
Métodos Públicos
MetaGraphDef.Builder | addAllAssetFileDef (valores Iterable <? extends AssetFileDef >) 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 | |
MetaGraphDef.Builder | addAssetFileDef (int index, AssetFileDef.Builder builderForValue) Asset file def to be used with the defined graph. |
MetaGraphDef.Builder | |
AssetFileDef.Builder | |
AssetFileDef.Builder | addAssetFileDefBuilder () Asset file def to be used with the defined graph. |
MetaGraphDef.Builder | addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
MetaGraphDef | build () |
MetaGraphDef | buildPartial () |
MetaGraphDef.Builder | limpar () |
MetaGraphDef.Builder | clearAssetFileDef () Asset file def to be used with the defined graph. |
MetaGraphDef.Builder | |
MetaGraphDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
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 | clone () |
boleano | containsCollectionDef (chave String) collection_def: Map from collection name to collections. |
boleano | containsSignatureDef (String key) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
AssetFileDef | |
AssetFileDef.Builder | |
Lista < 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. |
Lista < AssetFileDef > | getAssetFileDefList () Asset file def to be used with the defined graph. |
AssetFileDefOrBuilder | |
Lista <? estende AssetFileDefOrBuilder > | getAssetFileDefOrBuilderList () Asset file def to be used with the defined graph. |
Map <String, CollectionDef > | getCollectionDef () getCollectionDefMap() vez disso, use getCollectionDefMap() . |
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 | getGraphDefBuilder () GraphDef. |
GraphDefOrBuilder | getGraphDefOrBuilder () GraphDef. |
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 () Em vez disso, use acessadores de mutação alternativos. |
Map <String, SignatureDef > | getMutableSignatureDef () Em vez disso, use acessadores de mutação alternativos. |
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 | getSaverDefBuilder () SaverDef. |
SaverDefOrBuilder | getSaverDefOrBuilder () SaverDef. |
Map <String, SignatureDef > | getSignatureDef () getSignatureDefMap() vez disso, use getSignatureDefMap() . |
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. |
boleano | hasGraphDef () GraphDef. |
boleano | hasMetaInfoDef () .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
boleano | hasObjectGraphDef () Extra information about the structure of functions and stateful objects. |
boleano | hasSaverDef () SaverDef. |
final booleano | |
MetaGraphDef.Builder | mergeFrom (com.google.protobuf.Message other) |
MetaGraphDef.Builder | mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetaGraphDef.Builder | |
MetaGraphDef.Builder | mergeMetaInfoDef (valor MetaGraphDef.MetaInfoDef ) .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
MetaGraphDef.Builder | mergeObjectGraphDef (valor SavedObjectGraph ) Extra information about the structure of functions and stateful objects. |
MetaGraphDef.Builder | |
MetaGraphDef.Builder final | mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
MetaGraphDef.Builder | putAllCollectionDef (Map <String, CollectionDef > valores) collection_def: Map from collection name to collections. |
MetaGraphDef.Builder | putAllSignatureDef (Mapear valores <String, SignatureDef >) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
MetaGraphDef.Builder | putCollectionDef (chave String, valor CollectionDef ) collection_def: Map from collection name to collections. |
MetaGraphDef.Builder | putSignatureDef (chave String, valor SignatureDef ) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
MetaGraphDef.Builder | |
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 | |
MetaGraphDef.Builder | setAssetFileDef (int index, AssetFileDef.Builder builderForValue) Asset file def to be used with the defined graph. |
MetaGraphDef.Builder | setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
MetaGraphDef.Builder | |
MetaGraphDef.Builder | |
MetaGraphDef.Builder | setMetaInfoDef (valor MetaGraphDef.MetaInfoDef ) .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
MetaGraphDef.Builder | setMetaInfoDef ( MetaGraphDef.MetaInfoDef.Builder builderForValue) .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
MetaGraphDef.Builder | setObjectGraphDef (valor SavedObjectGraph ) 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
MetaGraphDef.Builder | |
MetaGraphDef.Builder | |
MetaGraphDef.Builder final | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos herdados
Métodos Públicos
public MetaGraphDef.Builder addAllAssetFileDef (Iterable <? extends AssetFileDef > valores)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public MetaGraphDef.Builder addAssetFileDef ( AssetFileDef.Builder builderForValue)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public MetaGraphDef.Builder addAssetFileDef (int index, AssetFileDef value)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public MetaGraphDef.Builder addAssetFileDef (int index, AssetFileDef.Builder builderForValue)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public MetaGraphDef.Builder addAssetFileDef (valor AssetFileDef )
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public AssetFileDef.Builder addAssetFileDefBuilder (índice interno )
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public AssetFileDef.Builder addAssetFileDefBuilder ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public MetaGraphDef.Builder addRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public MetaGraphDef.Builder clearAssetFileDef ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public MetaGraphDef.Builder clearMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public MetaGraphDef.Builder clearObjectGraphDef ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
public boolean containsCollectionDef (String key)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public boolean containsSignatureDef (String key)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public AssetFileDef getAssetFileDef (int index)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public AssetFileDef.Builder getAssetFileDefBuilder (índice interno )
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public List < AssetFileDef.Builder > getAssetFileDefBuilderList ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public int getAssetFileDefCount ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public List < AssetFileDef > getAssetFileDefList ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public AssetFileDefOrBuilder getAssetFileDefOrBuilder (índice interno )
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
Lista pública <? estende AssetFileDefOrBuilder > getAssetFileDefOrBuilderList ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public Map <String, CollectionDef > getCollectionDef ()
getCollectionDefMap()
vez disso, use getCollectionDefMap()
.
public int getCollectionDefCount ()
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public Map <String, CollectionDef > getCollectionDefMap ()
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public CollectionDef getCollectionDefOrDefault (String key, CollectionDef defaultValue)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public CollectionDef getCollectionDefOrThrow (String key)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public MetaGraphDef.MetaInfoDef getMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public MetaGraphDef.MetaInfoDef.Builder getMetaInfoDefBuilder ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public MetaGraphDef.MetaInfoDefOrBuilder getMetaInfoDefOrBuilder ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public Map <String, CollectionDef > getMutableCollectionDef ()
Em vez disso, use acessadores de mutação alternativos.
public Map <String, SignatureDef > getMutableSignatureDef ()
Em vez disso, use acessadores de mutação alternativos.
public SavedObjectGraph getObjectGraphDef ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
public SavedObjectGraph.Builder getObjectGraphDefBuilder ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
public SavedObjectGraphOrBuilder getObjectGraphDefOrBuilder ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
public Map <String, SignatureDef > getSignatureDef ()
getSignatureDefMap()
vez disso, use getSignatureDefMap()
.
public int getSignatureDefCount ()
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public Map <String, SignatureDef > getSignatureDefMap ()
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public SignatureDef getSignatureDefOrDefault (String key, SignatureDef defaultValue)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public SignatureDef getSignatureDefOrThrow (String key)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public boolean hasGraphDef ()
GraphDef.
.tensorflow.GraphDef graph_def = 2;
public boolean hasMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public boolean hasObjectGraphDef ()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
public boolean hasSaverDef ()
SaverDef.
.tensorflow.SaverDef saver_def = 3;
public final boolean isInitialized ()
public MetaGraphDef.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public MetaGraphDef.Builder mergeGraphDef (valor GraphDef )
GraphDef.
.tensorflow.GraphDef graph_def = 2;
public MetaGraphDef.Builder mergeMetaInfoDef (valor MetaGraphDef.MetaInfoDef )
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public MetaGraphDef.Builder mergeObjectGraphDef (valor SavedObjectGraph )
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
public MetaGraphDef.Builder mergeSaverDef (valor SaverDef )
SaverDef.
.tensorflow.SaverDef saver_def = 3;
public final MetaGraphDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public MetaGraphDef.Builder putAllCollectionDef (Map <String, CollectionDef > valores)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public MetaGraphDef.Builder putAllSignatureDef (Map <String, SignatureDef > valores)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public MetaGraphDef.Builder putCollectionDef (String key, CollectionDef value)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public MetaGraphDef.Builder putSignatureDef (String key, SignatureDef value)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public MetaGraphDef.Builder removeAssetFileDef (int index)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public MetaGraphDef.Builder removeCollectionDef (String key)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public MetaGraphDef.Builder removeSignatureDef (String key)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public MetaGraphDef.Builder setAssetFileDef (int index, AssetFileDef value)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public MetaGraphDef.Builder setAssetFileDef (int index, AssetFileDef.Builder builderForValue)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public MetaGraphDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
public MetaGraphDef.Builder setGraphDef ( GraphDef.Builder builderForValue)
GraphDef.
.tensorflow.GraphDef graph_def = 2;
public MetaGraphDef.Builder setGraphDef (valor GraphDef )
GraphDef.
.tensorflow.GraphDef graph_def = 2;
public MetaGraphDef.Builder setMetaInfoDef (valor MetaGraphDef.MetaInfoDef )
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public MetaGraphDef.Builder setMetaInfoDef ( MetaGraphDef.MetaInfoDef.Builder builderForValue)
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public MetaGraphDef.Builder setObjectGraphDef (valor SavedObjectGraph )
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
public MetaGraphDef.Builder setObjectGraphDef ( SavedObjectGraph.Builder builderForValue)
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
public MetaGraphDef.Builder setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto)
public MetaGraphDef.Builder setSaverDef (valor SaverDef )
SaverDef.
.tensorflow.SaverDef saver_def = 3;
public MetaGraphDef.Builder setSaverDef ( SaverDef.Builder builderForValue)
SaverDef.
.tensorflow.SaverDef saver_def = 3;