public final class MetaGraphDef extends org.nd4j.shade.protobuf.GeneratedMessageV3 implements MetaGraphDefOrBuilder
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 SignatureDefProtobuf type
tensorflow.MetaGraphDef| Modifier and Type | Class and Description |
|---|---|
static class |
MetaGraphDef.Builder
NOTE: This protocol buffer is evolving, and will go through revisions in the
coming months.
|
static class |
MetaGraphDef.MetaInfoDef
Meta information regarding the graph to be exported.
|
static interface |
MetaGraphDef.MetaInfoDefOrBuilder |
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ASSET_FILE_DEF_FIELD_NUMBER |
static int |
COLLECTION_DEF_FIELD_NUMBER |
static int |
GRAPH_DEF_FIELD_NUMBER |
static int |
META_INFO_DEF_FIELD_NUMBER |
static int |
SAVER_DEF_FIELD_NUMBER |
static int |
SIGNATURE_DEF_FIELD_NUMBER |
| Modifier and Type | Method and 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.
|
boolean |
equals(Object obj) |
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.
|
static MetaGraphDef |
getDefaultInstance() |
MetaGraphDef |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
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; |
org.nd4j.shade.protobuf.Parser<MetaGraphDef> |
getParserForType() |
SaverDef |
getSaverDef()
SaverDef.
|
SaverDefOrBuilder |
getSaverDefOrBuilder()
SaverDef.
|
int |
getSerializedSize() |
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.
|
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasGraphDef()
GraphDef.
|
int |
hashCode() |
boolean |
hasMetaInfoDef()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
boolean |
hasSaverDef()
SaverDef.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected org.nd4j.shade.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static MetaGraphDef.Builder |
newBuilder() |
static MetaGraphDef.Builder |
newBuilder(MetaGraphDef prototype) |
MetaGraphDef.Builder |
newBuilderForType() |
protected MetaGraphDef.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MetaGraphDef |
parseDelimitedFrom(InputStream input) |
static MetaGraphDef |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef |
parseFrom(byte[] data) |
static MetaGraphDef |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef |
parseFrom(ByteBuffer data) |
static MetaGraphDef |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static MetaGraphDef |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static MetaGraphDef |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef |
parseFrom(InputStream input) |
static MetaGraphDef |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<MetaGraphDef> |
parser() |
MetaGraphDef.Builder |
toBuilder() |
void |
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int META_INFO_DEF_FIELD_NUMBER
public static final int GRAPH_DEF_FIELD_NUMBER
public static final int SAVER_DEF_FIELD_NUMBER
public static final int COLLECTION_DEF_FIELD_NUMBER
public static final int SIGNATURE_DEF_FIELD_NUMBER
public static final int ASSET_FILE_DEF_FIELD_NUMBER
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuildergetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class org.nd4j.shade.protobuf.GeneratedMessageV3protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3public boolean hasMetaInfoDef()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;hasMetaInfoDef in interface MetaGraphDefOrBuilderpublic MetaGraphDef.MetaInfoDef getMetaInfoDef()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;getMetaInfoDef in interface MetaGraphDefOrBuilderpublic MetaGraphDef.MetaInfoDefOrBuilder getMetaInfoDefOrBuilder()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;getMetaInfoDefOrBuilder in interface MetaGraphDefOrBuilderpublic boolean hasGraphDef()
GraphDef.
.tensorflow.GraphDef graph_def = 2;hasGraphDef in interface MetaGraphDefOrBuilderpublic GraphDef getGraphDef()
GraphDef.
.tensorflow.GraphDef graph_def = 2;getGraphDef in interface MetaGraphDefOrBuilderpublic GraphDefOrBuilder getGraphDefOrBuilder()
GraphDef.
.tensorflow.GraphDef graph_def = 2;getGraphDefOrBuilder in interface MetaGraphDefOrBuilderpublic boolean hasSaverDef()
SaverDef.
.tensorflow.SaverDef saver_def = 3;hasSaverDef in interface MetaGraphDefOrBuilderpublic SaverDef getSaverDef()
SaverDef.
.tensorflow.SaverDef saver_def = 3;getSaverDef in interface MetaGraphDefOrBuilderpublic SaverDefOrBuilder getSaverDefOrBuilder()
SaverDef.
.tensorflow.SaverDef saver_def = 3;getSaverDefOrBuilder in interface MetaGraphDefOrBuilderpublic int getCollectionDefCount()
MetaGraphDefOrBuildercollection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;getCollectionDefCount in interface MetaGraphDefOrBuilderpublic boolean containsCollectionDef(String key)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;containsCollectionDef in interface MetaGraphDefOrBuilder@Deprecated public Map<String,CollectionDef> getCollectionDef()
getCollectionDefMap() instead.getCollectionDef in interface MetaGraphDefOrBuilderpublic Map<String,CollectionDef> getCollectionDefMap()
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;getCollectionDefMap in interface MetaGraphDefOrBuilderpublic 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;getCollectionDefOrDefault in interface MetaGraphDefOrBuilderpublic CollectionDef getCollectionDefOrThrow(String key)
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;getCollectionDefOrThrow in interface MetaGraphDefOrBuilderpublic int getSignatureDefCount()
MetaGraphDefOrBuildersignature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;getSignatureDefCount in interface MetaGraphDefOrBuilderpublic 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;containsSignatureDef in interface MetaGraphDefOrBuilder@Deprecated public Map<String,SignatureDef> getSignatureDef()
getSignatureDefMap() instead.getSignatureDef in interface MetaGraphDefOrBuilderpublic 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;getSignatureDefMap in interface MetaGraphDefOrBuilderpublic 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;getSignatureDefOrDefault in interface MetaGraphDefOrBuilderpublic 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;getSignatureDefOrThrow in interface MetaGraphDefOrBuilderpublic List<AssetFileDef> getAssetFileDefList()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;getAssetFileDefList in interface MetaGraphDefOrBuilderpublic List<? extends AssetFileDefOrBuilder> getAssetFileDefOrBuilderList()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;getAssetFileDefOrBuilderList in interface MetaGraphDefOrBuilderpublic int getAssetFileDefCount()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;getAssetFileDefCount in interface MetaGraphDefOrBuilderpublic AssetFileDef getAssetFileDef(int index)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;getAssetFileDef in interface MetaGraphDefOrBuilderpublic AssetFileDefOrBuilder getAssetFileDefOrBuilder(int index)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;getAssetFileDefOrBuilder in interface MetaGraphDefOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.nd4j.shade.protobuf.MessageLitewriteTo in class org.nd4j.shade.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.nd4j.shade.protobuf.MessageLitegetSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.nd4j.shade.protobuf.Messageequals in class org.nd4j.shade.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.nd4j.shade.protobuf.MessagehashCode in class org.nd4j.shade.protobuf.AbstractMessagepublic static MetaGraphDef parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static MetaGraphDef parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static MetaGraphDef parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static MetaGraphDef parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static MetaGraphDef parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static MetaGraphDef parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static MetaGraphDef parseFrom(InputStream input) throws IOException
IOExceptionpublic static MetaGraphDef parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MetaGraphDef parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MetaGraphDef parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MetaGraphDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MetaGraphDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MetaGraphDef.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static MetaGraphDef.Builder newBuilder()
public static MetaGraphDef.Builder newBuilder(MetaGraphDef prototype)
public MetaGraphDef.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected MetaGraphDef.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public static MetaGraphDef getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<MetaGraphDef> parser()
public org.nd4j.shade.protobuf.Parser<MetaGraphDef> getParserForType()
getParserForType in interface org.nd4j.shade.protobuf.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public MetaGraphDef getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.