public final class MetaGraphDef extends com.github.os72.protobuf351.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 |
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable
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 com.github.os72.protobuf351.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; |
com.github.os72.protobuf351.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.
|
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
boolean |
hasGraphDef()
GraphDef.
|
int |
hashCode() |
boolean |
hasMetaInfoDef()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1; |
boolean |
hasSaverDef()
SaverDef.
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.github.os72.protobuf351.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static MetaGraphDef.Builder |
newBuilder() |
static MetaGraphDef.Builder |
newBuilder(MetaGraphDef prototype) |
MetaGraphDef.Builder |
newBuilderForType() |
protected MetaGraphDef.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static MetaGraphDef |
parseDelimitedFrom(InputStream input) |
static MetaGraphDef |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef |
parseFrom(byte[] data) |
static MetaGraphDef |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef |
parseFrom(ByteBuffer data) |
static MetaGraphDef |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static MetaGraphDef |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static MetaGraphDef |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef |
parseFrom(InputStream input) |
static MetaGraphDef |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<MetaGraphDef> |
parser() |
MetaGraphDef.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public 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
public final com.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.github.os72.protobuf351.MessageOrBuilder
getUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3
public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.MapField internalGetMapField(int number)
internalGetMapField
in class com.github.os72.protobuf351.GeneratedMessageV3
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3
public boolean hasMetaInfoDef()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
hasMetaInfoDef
in interface MetaGraphDefOrBuilder
public MetaGraphDef.MetaInfoDef getMetaInfoDef()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
getMetaInfoDef
in interface MetaGraphDefOrBuilder
public MetaGraphDef.MetaInfoDefOrBuilder getMetaInfoDefOrBuilder()
.tensorflow.MetaGraphDef.MetaInfoDef meta_info_def = 1;
getMetaInfoDefOrBuilder
in interface MetaGraphDefOrBuilder
public boolean hasGraphDef()
GraphDef.
.tensorflow.GraphDef graph_def = 2;
hasGraphDef
in interface MetaGraphDefOrBuilder
public GraphDef getGraphDef()
GraphDef.
.tensorflow.GraphDef graph_def = 2;
getGraphDef
in interface MetaGraphDefOrBuilder
public GraphDefOrBuilder getGraphDefOrBuilder()
GraphDef.
.tensorflow.GraphDef graph_def = 2;
getGraphDefOrBuilder
in interface MetaGraphDefOrBuilder
public boolean hasSaverDef()
SaverDef.
.tensorflow.SaverDef saver_def = 3;
hasSaverDef
in interface MetaGraphDefOrBuilder
public SaverDef getSaverDef()
SaverDef.
.tensorflow.SaverDef saver_def = 3;
getSaverDef
in interface MetaGraphDefOrBuilder
public SaverDefOrBuilder getSaverDefOrBuilder()
SaverDef.
.tensorflow.SaverDef saver_def = 3;
getSaverDefOrBuilder
in interface MetaGraphDefOrBuilder
public int getCollectionDefCount()
MetaGraphDefOrBuilder
collection_def: Map from collection name to collections. See CollectionDef section for details.
map<string, .tensorflow.CollectionDef> collection_def = 4;
getCollectionDefCount
in interface MetaGraphDefOrBuilder
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;
containsCollectionDef
in interface MetaGraphDefOrBuilder
@Deprecated public Map<String,CollectionDef> getCollectionDef()
getCollectionDefMap()
instead.getCollectionDef
in interface MetaGraphDefOrBuilder
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;
getCollectionDefMap
in interface MetaGraphDefOrBuilder
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;
getCollectionDefOrDefault
in interface MetaGraphDefOrBuilder
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;
getCollectionDefOrThrow
in interface MetaGraphDefOrBuilder
public int getSignatureDefCount()
MetaGraphDefOrBuilder
signature_def: Map from user supplied key for a signature to a single SignatureDef.
map<string, .tensorflow.SignatureDef> signature_def = 5;
getSignatureDefCount
in interface MetaGraphDefOrBuilder
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;
containsSignatureDef
in interface MetaGraphDefOrBuilder
@Deprecated public Map<String,SignatureDef> getSignatureDef()
getSignatureDefMap()
instead.getSignatureDef
in interface MetaGraphDefOrBuilder
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;
getSignatureDefMap
in interface MetaGraphDefOrBuilder
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;
getSignatureDefOrDefault
in interface MetaGraphDefOrBuilder
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;
getSignatureDefOrThrow
in interface MetaGraphDefOrBuilder
public List<AssetFileDef> getAssetFileDefList()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
getAssetFileDefList
in interface MetaGraphDefOrBuilder
public List<? extends AssetFileDefOrBuilder> getAssetFileDefOrBuilderList()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
getAssetFileDefOrBuilderList
in interface MetaGraphDefOrBuilder
public int getAssetFileDefCount()
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
getAssetFileDefCount
in interface MetaGraphDefOrBuilder
public AssetFileDef getAssetFileDef(int index)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
getAssetFileDef
in interface MetaGraphDefOrBuilder
public AssetFileDefOrBuilder getAssetFileDefOrBuilder(int index)
Asset file def to be used with the defined graph.
repeated .tensorflow.AssetFileDef asset_file_def = 6;
getAssetFileDefOrBuilder
in interface MetaGraphDefOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws IOException
writeTo
in interface com.github.os72.protobuf351.MessageLite
writeTo
in class com.github.os72.protobuf351.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.github.os72.protobuf351.MessageLite
getSerializedSize
in class com.github.os72.protobuf351.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.github.os72.protobuf351.Message
equals
in class com.github.os72.protobuf351.AbstractMessage
public int hashCode()
hashCode
in interface com.github.os72.protobuf351.Message
hashCode
in class com.github.os72.protobuf351.AbstractMessage
public static MetaGraphDef parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static MetaGraphDef parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static MetaGraphDef parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static MetaGraphDef parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static MetaGraphDef parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static MetaGraphDef parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static MetaGraphDef parseFrom(InputStream input) throws IOException
IOException
public static MetaGraphDef parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MetaGraphDef parseDelimitedFrom(InputStream input) throws IOException
IOException
public static MetaGraphDef parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MetaGraphDef parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static MetaGraphDef parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public MetaGraphDef.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static MetaGraphDef.Builder newBuilder()
public static MetaGraphDef.Builder newBuilder(MetaGraphDef prototype)
public MetaGraphDef.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected MetaGraphDef.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public static MetaGraphDef getDefaultInstance()
public static com.github.os72.protobuf351.Parser<MetaGraphDef> parser()
public com.github.os72.protobuf351.Parser<MetaGraphDef> getParserForType()
getParserForType
in interface com.github.os72.protobuf351.Message
getParserForType
in interface com.github.os72.protobuf351.MessageLite
getParserForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public MetaGraphDef getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2019. All rights reserved.