Package org.tensorflow.framework
Interface MetaGraphDefOrBuilder
-
- All Superinterfaces:
org.nd4j.shade.protobuf.MessageLiteOrBuilder
,org.nd4j.shade.protobuf.MessageOrBuilder
- All Known Implementing Classes:
MetaGraphDef
,MetaGraphDef.Builder
public interface MetaGraphDefOrBuilder extends org.nd4j.shade.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description 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.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>
getCollectionDef()
Deprecated.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.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;
SaverDef
getSaverDef()
SaverDef.SaverDefOrBuilder
getSaverDefOrBuilder()
SaverDef.Map<String,SignatureDef>
getSignatureDef()
Deprecated.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
hasSaverDef()
SaverDef.-
Methods inherited from interface org.nd4j.shade.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(String key)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
-
getCollectionDef
@Deprecated Map<String,CollectionDef> getCollectionDef()
Deprecated.UsegetCollectionDefMap()
instead.
-
getCollectionDefMap
Map<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(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(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(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 Map<String,SignatureDef> getSignatureDef()
Deprecated.UsegetSignatureDefMap()
instead.
-
getSignatureDefMap
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;
-
getSignatureDefOrDefault
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;
-
getSignatureDefOrThrow
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;
-
getAssetFileDefList
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
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;
-
-