public static final class MetaGraphDef.MetaInfoDef extends com.google.protobuf.GeneratedMessageV3 implements MetaGraphDef.MetaInfoDefOrBuilder
Meta information regarding the graph to be exported. To be used by users of this protocol buffer to encode information regarding their meta graph.Protobuf type
tensorflow.MetaGraphDef.MetaInfoDef| Modifier and Type | Class and Description |
|---|---|
static class |
MetaGraphDef.MetaInfoDef.Builder
Meta information regarding the graph to be exported.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ANY_INFO_FIELD_NUMBER |
static int |
META_GRAPH_VERSION_FIELD_NUMBER |
static int |
STRIPPED_DEFAULT_ATTRS_FIELD_NUMBER |
static int |
STRIPPED_OP_LIST_FIELD_NUMBER |
static int |
TAGS_FIELD_NUMBER |
static int |
TENSORFLOW_GIT_VERSION_FIELD_NUMBER |
static int |
TENSORFLOW_VERSION_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj) |
com.google.protobuf.Any |
getAnyInfo()
A serialized protobuf.
|
com.google.protobuf.AnyOrBuilder |
getAnyInfoOrBuilder()
A serialized protobuf.
|
static MetaGraphDef.MetaInfoDef |
getDefaultInstance() |
MetaGraphDef.MetaInfoDef |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
java.lang.String |
getMetaGraphVersion()
User specified Version string.
|
com.google.protobuf.ByteString |
getMetaGraphVersionBytes()
User specified Version string.
|
com.google.protobuf.Parser<MetaGraphDef.MetaInfoDef> |
getParserForType() |
int |
getSerializedSize() |
boolean |
getStrippedDefaultAttrs()
A flag to denote whether default-valued attrs have been stripped from
the nodes in this graph_def.
|
OpList |
getStrippedOpList()
A copy of the OpDefs used by the producer of this graph_def.
|
OpListOrBuilder |
getStrippedOpListOrBuilder()
A copy of the OpDefs used by the producer of this graph_def.
|
java.lang.String |
getTags(int index)
User supplied tag(s) on the meta_graph and included graph_def.
|
com.google.protobuf.ByteString |
getTagsBytes(int index)
User supplied tag(s) on the meta_graph and included graph_def.
|
int |
getTagsCount()
User supplied tag(s) on the meta_graph and included graph_def.
|
com.google.protobuf.ProtocolStringList |
getTagsList()
User supplied tag(s) on the meta_graph and included graph_def.
|
java.lang.String |
getTensorflowGitVersion()
The __git_version__ string of the tensorflow build used to write this
graph.
|
com.google.protobuf.ByteString |
getTensorflowGitVersionBytes()
The __git_version__ string of the tensorflow build used to write this
graph.
|
java.lang.String |
getTensorflowVersion()
The __version__ string of the tensorflow build used to write this graph.
|
com.google.protobuf.ByteString |
getTensorflowVersionBytes()
The __version__ string of the tensorflow build used to write this graph.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAnyInfo()
A serialized protobuf.
|
int |
hashCode() |
boolean |
hasStrippedOpList()
A copy of the OpDefs used by the producer of this graph_def.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static MetaGraphDef.MetaInfoDef.Builder |
newBuilder() |
static MetaGraphDef.MetaInfoDef.Builder |
newBuilder(MetaGraphDef.MetaInfoDef prototype) |
MetaGraphDef.MetaInfoDef.Builder |
newBuilderForType() |
protected MetaGraphDef.MetaInfoDef.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected java.lang.Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MetaGraphDef.MetaInfoDef |
parseDelimitedFrom(java.io.InputStream input) |
static MetaGraphDef.MetaInfoDef |
parseDelimitedFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef.MetaInfoDef |
parseFrom(byte[] data) |
static MetaGraphDef.MetaInfoDef |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef.MetaInfoDef |
parseFrom(java.nio.ByteBuffer data) |
static MetaGraphDef.MetaInfoDef |
parseFrom(java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef.MetaInfoDef |
parseFrom(com.google.protobuf.ByteString data) |
static MetaGraphDef.MetaInfoDef |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef.MetaInfoDef |
parseFrom(com.google.protobuf.CodedInputStream input) |
static MetaGraphDef.MetaInfoDef |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef.MetaInfoDef |
parseFrom(java.io.InputStream input) |
static MetaGraphDef.MetaInfoDef |
parseFrom(java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<MetaGraphDef.MetaInfoDef> |
parser() |
MetaGraphDef.MetaInfoDef.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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_GRAPH_VERSION_FIELD_NUMBER
public static final int STRIPPED_OP_LIST_FIELD_NUMBER
public static final int ANY_INFO_FIELD_NUMBER
public static final int TAGS_FIELD_NUMBER
public static final int TENSORFLOW_VERSION_FIELD_NUMBER
public static final int TENSORFLOW_GIT_VERSION_FIELD_NUMBER
public static final int STRIPPED_DEFAULT_ATTRS_FIELD_NUMBER
protected java.lang.Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public java.lang.String getMetaGraphVersion()
User specified Version string. Can be the name of the model and revision, steps this model has been trained to, etc.
string meta_graph_version = 1;getMetaGraphVersion in interface MetaGraphDef.MetaInfoDefOrBuilderpublic com.google.protobuf.ByteString getMetaGraphVersionBytes()
User specified Version string. Can be the name of the model and revision, steps this model has been trained to, etc.
string meta_graph_version = 1;getMetaGraphVersionBytes in interface MetaGraphDef.MetaInfoDefOrBuilderpublic boolean hasStrippedOpList()
A copy of the OpDefs used by the producer of this graph_def. Descriptions and Ops not used in graph_def are stripped out.
.tensorflow.OpList stripped_op_list = 2;hasStrippedOpList in interface MetaGraphDef.MetaInfoDefOrBuilderpublic OpList getStrippedOpList()
A copy of the OpDefs used by the producer of this graph_def. Descriptions and Ops not used in graph_def are stripped out.
.tensorflow.OpList stripped_op_list = 2;getStrippedOpList in interface MetaGraphDef.MetaInfoDefOrBuilderpublic OpListOrBuilder getStrippedOpListOrBuilder()
A copy of the OpDefs used by the producer of this graph_def. Descriptions and Ops not used in graph_def are stripped out.
.tensorflow.OpList stripped_op_list = 2;getStrippedOpListOrBuilder in interface MetaGraphDef.MetaInfoDefOrBuilderpublic boolean hasAnyInfo()
A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.
.google.protobuf.Any any_info = 3;hasAnyInfo in interface MetaGraphDef.MetaInfoDefOrBuilderpublic com.google.protobuf.Any getAnyInfo()
A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.
.google.protobuf.Any any_info = 3;getAnyInfo in interface MetaGraphDef.MetaInfoDefOrBuilderpublic com.google.protobuf.AnyOrBuilder getAnyInfoOrBuilder()
A serialized protobuf. Can be the time this meta graph is created, or modified, or name of the model.
.google.protobuf.Any any_info = 3;getAnyInfoOrBuilder in interface MetaGraphDef.MetaInfoDefOrBuilderpublic com.google.protobuf.ProtocolStringList getTagsList()
User supplied tag(s) on the meta_graph and included graph_def. MetaGraphDefs should be tagged with their capabilities or use-cases. Examples: "train", "serve", "gpu", "tpu", etc. These tags enable loaders to access the MetaGraph(s) appropriate for a specific use-case or runtime environment.
repeated string tags = 4;getTagsList in interface MetaGraphDef.MetaInfoDefOrBuilderpublic int getTagsCount()
User supplied tag(s) on the meta_graph and included graph_def. MetaGraphDefs should be tagged with their capabilities or use-cases. Examples: "train", "serve", "gpu", "tpu", etc. These tags enable loaders to access the MetaGraph(s) appropriate for a specific use-case or runtime environment.
repeated string tags = 4;getTagsCount in interface MetaGraphDef.MetaInfoDefOrBuilderpublic java.lang.String getTags(int index)
User supplied tag(s) on the meta_graph and included graph_def. MetaGraphDefs should be tagged with their capabilities or use-cases. Examples: "train", "serve", "gpu", "tpu", etc. These tags enable loaders to access the MetaGraph(s) appropriate for a specific use-case or runtime environment.
repeated string tags = 4;getTags in interface MetaGraphDef.MetaInfoDefOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTagsBytes(int index)
User supplied tag(s) on the meta_graph and included graph_def. MetaGraphDefs should be tagged with their capabilities or use-cases. Examples: "train", "serve", "gpu", "tpu", etc. These tags enable loaders to access the MetaGraph(s) appropriate for a specific use-case or runtime environment.
repeated string tags = 4;getTagsBytes in interface MetaGraphDef.MetaInfoDefOrBuilderindex - The index of the value to return.public java.lang.String getTensorflowVersion()
The __version__ string of the tensorflow build used to write this graph. This will be populated by the framework, which will overwrite any user supplied value.
string tensorflow_version = 5;getTensorflowVersion in interface MetaGraphDef.MetaInfoDefOrBuilderpublic com.google.protobuf.ByteString getTensorflowVersionBytes()
The __version__ string of the tensorflow build used to write this graph. This will be populated by the framework, which will overwrite any user supplied value.
string tensorflow_version = 5;getTensorflowVersionBytes in interface MetaGraphDef.MetaInfoDefOrBuilderpublic java.lang.String getTensorflowGitVersion()
The __git_version__ string of the tensorflow build used to write this graph. This will be populated by the framework, which will overwrite any user supplied value.
string tensorflow_git_version = 6;getTensorflowGitVersion in interface MetaGraphDef.MetaInfoDefOrBuilderpublic com.google.protobuf.ByteString getTensorflowGitVersionBytes()
The __git_version__ string of the tensorflow build used to write this graph. This will be populated by the framework, which will overwrite any user supplied value.
string tensorflow_git_version = 6;getTensorflowGitVersionBytes in interface MetaGraphDef.MetaInfoDefOrBuilderpublic boolean getStrippedDefaultAttrs()
A flag to denote whether default-valued attrs have been stripped from the nodes in this graph_def.
bool stripped_default_attrs = 7;getStrippedDefaultAttrs in interface MetaGraphDef.MetaInfoDefOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3java.io.IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(java.lang.Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static MetaGraphDef.MetaInfoDef parseFrom(java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetaGraphDef.MetaInfoDef parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetaGraphDef.MetaInfoDef parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetaGraphDef.MetaInfoDef parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetaGraphDef.MetaInfoDef parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetaGraphDef.MetaInfoDef parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static MetaGraphDef.MetaInfoDef parseFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MetaGraphDef.MetaInfoDef parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static MetaGraphDef.MetaInfoDef parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MetaGraphDef.MetaInfoDef parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic static MetaGraphDef.MetaInfoDef parseFrom(com.google.protobuf.CodedInputStream input) throws java.io.IOException
java.io.IOExceptionpublic static MetaGraphDef.MetaInfoDef parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
java.io.IOExceptionpublic MetaGraphDef.MetaInfoDef.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static MetaGraphDef.MetaInfoDef.Builder newBuilder()
public static MetaGraphDef.MetaInfoDef.Builder newBuilder(MetaGraphDef.MetaInfoDef prototype)
public MetaGraphDef.MetaInfoDef.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected MetaGraphDef.MetaInfoDef.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static MetaGraphDef.MetaInfoDef getDefaultInstance()
public static com.google.protobuf.Parser<MetaGraphDef.MetaInfoDef> parser()
public com.google.protobuf.Parser<MetaGraphDef.MetaInfoDef> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public MetaGraphDef.MetaInfoDef getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder