public final class MetaGraphDef
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
Classes aninhadas
aula | MetaGraphDef.Builder | NOTE: This protocol buffer is evolving, and will go through revisions in the coming months. | |
aula | MetaGraphDef.MetaInfoDef | Meta information regarding the graph to be exported. | |
interface | MetaGraphDef.MetaInfoDefOrBuilder |
Constantes
Métodos Públicos
boleano | containsCollectionDef (String key) 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. |
boleano | igual a (objeto obj) |
AssetFileDef | |
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 estático | |
MetaGraphDef | |
final static com.google.protobuf.Descriptors.Descriptor | |
GraphDef | getGraphDef () GraphDef. |
GraphDefOrBuilder | getGraphDefOrBuilder () GraphDef. |
MetaGraphDef.MetaInfoDef | getMetaInfoDef () .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
MetaGraphDef.MetaInfoDefOrBuilder | getMetaInfoDefOrBuilder () .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
SavedObjectGraph | getObjectGraphDef () 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. |
SaverDefOrBuilder | getSaverDefOrBuilder () SaverDef. |
int | |
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. |
final com.google.protobuf.UnknownFieldSet | |
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. |
int | hashCode () |
final booleano | |
static MetaGraphDef.Builder | newBuilder () |
static MetaGraphDef.Builder | newBuilder (protótipo MetaGraphDef ) |
MetaGraphDef.Builder | |
MetaGraphDef estático | parseDelimitedFrom (input InputStream) |
MetaGraphDef estático | parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetaGraphDef estático | parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetaGraphDef estático | parseFrom (com.google.protobuf.CodedInputStream input) |
MetaGraphDef estático | parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetaGraphDef estático | parseFrom (dados ByteBuffer) |
MetaGraphDef estático | parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetaGraphDef estático | parseFrom (com.google.protobuf.ByteString data) |
MetaGraphDef estático | parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
MetaGraphDef estático | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
MetaGraphDef.Builder | toBuilder () |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
public static final int ASSET_FILE_DEF_FIELD_NUMBER
Valor constante: 6
public static final int COLLECTION_DEF_FIELD_NUMBER
Valor constante: 4
public static final int GRAPH_DEF_FIELD_NUMBER
Valor constante: 2
public static final int META_INFO_DEF_FIELD_NUMBER
Valor constante: 1
public static final int OBJECT_GRAPH_DEF_FIELD_NUMBER
Valor constante: 7
public static final int SAVER_DEF_FIELD_NUMBER
Valor Constante: 3
public static final int SIGNATURE_DEF_FIELD_NUMBER
Valor constante: 5
Métodos Públicos
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 boolean equals (Object obj)
public AssetFileDef getAssetFileDef (int index)
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 MetaGraphDef.MetaInfoDef getMetaInfoDef ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public MetaGraphDef.MetaInfoDefOrBuilder getMetaInfoDefOrBuilder ()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
public SavedObjectGraph getObjectGraphDef ()
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;
público getParserForType ()
public int getSerializedSize ()
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 final com.google.protobuf.UnknownFieldSet getUnknownFields ()
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 int hashCode ()
public final boolean isInitialized ()
public static MetaGraphDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static MetaGraphDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static MetaGraphDef parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static MetaGraphDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static MetaGraphDef parseFrom (com.google.protobuf.ByteString data)
Lança
InvalidProtocolBufferException |
---|
public static MetaGraphDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static MetaGraphDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|