clase final pública 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 SignatureDefTipo de
tensorflow.MetaGraphDef
Clases anidadas
clase | MetaGraphDef.Builder | NOTE: This protocol buffer is evolving, and will go through revisions in the coming months. | |
clase | MetaGraphDef.MetaInfoDef | Meta information regarding the graph to be exported. | |
interfaz | MetaGraphDef.MetaInfoDefOrBuilder |
Constantes
Métodos públicos
booleano | containsCollectionDef (clave de cadena) collection_def: Map from collection name to collections. |
booleano | containsSignatureDef (clave de cadena) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
booleano | es igual a (Objeto obj) |
AssetFileDef | getAssetFileDef (índice int) Asset file def to be used with the defined graph. |
En t | 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 | getAssetFileDefOrBuilder (índice int) Asset file def to be used with the defined graph. |
Lista <? extiende AssetFileDefOrBuilder > | getAssetFileDefOrBuilderList () Asset file def to be used with the defined graph. |
Mapa <String, CollectionDef > | getCollectionDef () Utilice getCollectionDefMap() lugar. |
En t | getCollectionDefCount () collection_def: Map from collection name to collections. |
Mapa <String, CollectionDef > | getCollectionDefMap () collection_def: Map from collection name to collections. |
ColecciónDef | getCollectionDefOrDefault (clave de cadena, CollectionDef defaultValue) collection_def: Map from collection name to collections. |
ColecciónDef | getCollectionDefOrThrow (clave de cadena) collection_def: Map from collection name to collections. |
static MetaGraphDef | |
MetaGraphDef | |
com.google.protobuf.Descriptors.Descriptor estático final | |
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. |
En t | |
Mapa <String, SignatureDef > | getSignatureDef () Utilice getSignatureDefMap() lugar. |
En t | getSignatureDefCount () signature_def: Map from user supplied key for a signature to a single SignatureDef. |
Mapa <String, SignatureDef > | getSignatureDefMap () signature_def: Map from user supplied key for a signature to a single SignatureDef. |
SignatureDef | getSignatureDefOrDefault (clave de cadena, SignatureDef defaultValue) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
SignatureDef | getSignatureDefOrThrow (clave de cadena) signature_def: Map from user supplied key for a signature to a single SignatureDef. |
final com.google.protobuf.UnknownFieldSet | |
booleano | hasGraphDef () GraphDef. |
booleano | hasMetaInfoDef () .tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
booleano | hasObjectGraphDef () Extra information about the structure of functions and stateful objects. |
booleano | hasSaverDef () SaverDef. |
En t | hashCode () |
booleano final | |
estático MetaGraphDef.Builder | newBuilder () |
estático MetaGraphDef.Builder | newBuilder (prototipo de MetaGraphDef ) |
MetaGraphDef.Builder | |
static MetaGraphDef | parseDelimitedFrom (entrada InputStream) |
static MetaGraphDef | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef | parseFrom (entrada com.google.protobuf.CodedInputStream) |
static MetaGraphDef | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef | parseFrom (datos ByteBuffer) |
static MetaGraphDef | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef | parseFrom (datos com.google.protobuf.ByteString) |
static MetaGraphDef | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analizador () |
MetaGraphDef.Builder | toBuilder () |
vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
public static final int ASSET_FILE_DEF_FIELD_NUMBER
Valor constante: 6
public static final int COLLECTION_DEF_FIELD_NUMBER
Valor constante: 4
público estático final int GRAPH_DEF_FIELD_NUMBER
Valor constante: 2
público estático 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 (clave de cadena)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
public boolean containsSignatureDef (clave de cadena)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
public boolean es igual a (Object obj)
public AssetFileDef getAssetFileDef (índice int)
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;
Lista pública < AssetFileDef > getAssetFileDefList ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
public AssetFileDefOrBuilder getAssetFileDefOrBuilder (índice int)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
Lista pública <? extiende AssetFileDefOrBuilder > getAssetFileDefOrBuilderList ()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
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 (clave de cadena, 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 (clave de cadena)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
público estático 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 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 (clave de cadena, 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 (clave de cadena)
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)
Lanza
IOException |
---|
public static MetaGraphDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático MetaGraphDef parseFrom (entrada com.google.protobuf.CodedInputStream)
Lanza
IOException |
---|
public static MetaGraphDef parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
public static MetaGraphDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
público estático MetaGraphDef parseFrom (datos com.google.protobuf.ByteString)
Lanza
InvalidProtocolBufferException |
---|
public static MetaGraphDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
public static MetaGraphDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
IOException |
---|