Package org.tensorflow.framework
Interface MetaGraphDefOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetaGraphDef,MetaGraphDef.Builder
public interface MetaGraphDefOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description booleancontainsCollectionDef(java.lang.String key)collection_def: Map from collection name to collections.booleancontainsSignatureDef(java.lang.String key)signature_def: Map from user supplied key for a signature to a single SignatureDef.AssetFileDefgetAssetFileDef(int index)Asset file def to be used with the defined graph.intgetAssetFileDefCount()Asset file def to be used with the defined graph.java.util.List<AssetFileDef>getAssetFileDefList()Asset file def to be used with the defined graph.AssetFileDefOrBuildergetAssetFileDefOrBuilder(int index)Asset file def to be used with the defined graph.java.util.List<? extends AssetFileDefOrBuilder>getAssetFileDefOrBuilderList()Asset file def to be used with the defined graph.java.util.Map<java.lang.String,CollectionDef>getCollectionDef()Deprecated.intgetCollectionDefCount()collection_def: Map from collection name to collections.java.util.Map<java.lang.String,CollectionDef>getCollectionDefMap()collection_def: Map from collection name to collections.CollectionDefgetCollectionDefOrDefault(java.lang.String key, CollectionDef defaultValue)collection_def: Map from collection name to collections.CollectionDefgetCollectionDefOrThrow(java.lang.String key)collection_def: Map from collection name to collections.GraphDefgetGraphDef()GraphDef.GraphDefOrBuildergetGraphDefOrBuilder()GraphDef.MetaGraphDef.MetaInfoDefgetMetaInfoDef().tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;MetaGraphDef.MetaInfoDefOrBuildergetMetaInfoDefOrBuilder().tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;SavedObjectGraphOuterClass.SavedObjectGraphgetObjectGraphDef()Extra information about the structure of functions and stateful objects.SavedObjectGraphOuterClass.SavedObjectGraphOrBuildergetObjectGraphDefOrBuilder()Extra information about the structure of functions and stateful objects.SaverDefgetSaverDef()SaverDef.SaverDefOrBuildergetSaverDefOrBuilder()SaverDef.java.util.Map<java.lang.String,SignatureDef>getSignatureDef()Deprecated.intgetSignatureDefCount()signature_def: Map from user supplied key for a signature to a single SignatureDef.java.util.Map<java.lang.String,SignatureDef>getSignatureDefMap()signature_def: Map from user supplied key for a signature to a single SignatureDef.SignatureDefgetSignatureDefOrDefault(java.lang.String key, SignatureDef defaultValue)signature_def: Map from user supplied key for a signature to a single SignatureDef.SignatureDefgetSignatureDefOrThrow(java.lang.String key)signature_def: Map from user supplied key for a signature to a single SignatureDef.booleanhasGraphDef()GraphDef.booleanhasMetaInfoDef().tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;booleanhasObjectGraphDef()Extra information about the structure of functions and stateful objects.booleanhasSaverDef()SaverDef.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasMetaInfoDef
boolean hasMetaInfoDef()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;- Returns:
- Whether the metaInfoDef field is set.
-
getMetaInfoDef
MetaGraphDef.MetaInfoDef getMetaInfoDef()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;- Returns:
- The metaInfoDef.
-
getMetaInfoDefOrBuilder
MetaGraphDef.MetaInfoDefOrBuilder getMetaInfoDefOrBuilder()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
-
hasGraphDef
boolean hasGraphDef()
GraphDef.
.tensorflow.GraphDef graph_def = 2;- Returns:
- Whether the graphDef field is set.
-
getGraphDef
GraphDef getGraphDef()
GraphDef.
.tensorflow.GraphDef graph_def = 2;- Returns:
- The graphDef.
-
getGraphDefOrBuilder
GraphDefOrBuilder getGraphDefOrBuilder()
GraphDef.
.tensorflow.GraphDef graph_def = 2;
-
hasSaverDef
boolean hasSaverDef()
SaverDef.
.tensorflow.SaverDef saver_def = 3;- Returns:
- Whether the saverDef field is set.
-
getSaverDef
SaverDef getSaverDef()
SaverDef.
.tensorflow.SaverDef saver_def = 3;- Returns:
- The saverDef.
-
getSaverDefOrBuilder
SaverDefOrBuilder getSaverDefOrBuilder()
SaverDef.
.tensorflow.SaverDef saver_def = 3;
-
getCollectionDefCount
int getCollectionDefCount()
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
-
containsCollectionDef
boolean containsCollectionDef(java.lang.String key)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
-
getCollectionDef
@Deprecated java.util.Map<java.lang.String,CollectionDef> getCollectionDef()
Deprecated.UsegetCollectionDefMap()instead.
-
getCollectionDefMap
java.util.Map<java.lang.String,CollectionDef> getCollectionDefMap()
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
-
getCollectionDefOrDefault
CollectionDef getCollectionDefOrDefault(java.lang.String key, CollectionDef defaultValue)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
-
getCollectionDefOrThrow
CollectionDef getCollectionDefOrThrow(java.lang.String key)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
-
getSignatureDefCount
int getSignatureDefCount()
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
-
containsSignatureDef
boolean containsSignatureDef(java.lang.String key)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
-
getSignatureDef
@Deprecated java.util.Map<java.lang.String,SignatureDef> getSignatureDef()
Deprecated.UsegetSignatureDefMap()instead.
-
getSignatureDefMap
java.util.Map<java.lang.String,SignatureDef> getSignatureDefMap()
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
-
getSignatureDefOrDefault
SignatureDef getSignatureDefOrDefault(java.lang.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;
-
getSignatureDefOrThrow
SignatureDef getSignatureDefOrThrow(java.lang.String key)
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
-
getAssetFileDefList
java.util.List<AssetFileDef> getAssetFileDefList()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
-
getAssetFileDef
AssetFileDef getAssetFileDef(int index)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
-
getAssetFileDefCount
int getAssetFileDefCount()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
-
getAssetFileDefOrBuilderList
java.util.List<? extends AssetFileDefOrBuilder> getAssetFileDefOrBuilderList()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
-
getAssetFileDefOrBuilder
AssetFileDefOrBuilder getAssetFileDefOrBuilder(int index)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
-
hasObjectGraphDef
boolean hasObjectGraphDef()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;- Returns:
- Whether the objectGraphDef field is set.
-
getObjectGraphDef
SavedObjectGraphOuterClass.SavedObjectGraph getObjectGraphDef()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;- Returns:
- The objectGraphDef.
-
getObjectGraphDefOrBuilder
SavedObjectGraphOuterClass.SavedObjectGraphOrBuilder getObjectGraphDefOrBuilder()
Extra information about the structure of functions and stateful objects.
.tensorflow.SavedObjectGraph object_graph_def = 7;
-
-