public static final class MetaGraphDef.MetaInfoDef extends com.github.os72.protobuf351.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.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 |
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(Object obj) |
com.github.os72.protobuf351.Any |
getAnyInfo()
A serialized protobuf.
|
com.github.os72.protobuf351.AnyOrBuilder |
getAnyInfoOrBuilder()
A serialized protobuf.
|
static MetaGraphDef.MetaInfoDef |
getDefaultInstance() |
MetaGraphDef.MetaInfoDef |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
String |
getMetaGraphVersion()
User specified Version string.
|
com.github.os72.protobuf351.ByteString |
getMetaGraphVersionBytes()
User specified Version string.
|
com.github.os72.protobuf351.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.
|
String |
getTags(int index)
User supplied tag(s) on the meta_graph and included graph_def.
|
com.github.os72.protobuf351.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.github.os72.protobuf351.ProtocolStringList |
getTagsList()
User supplied tag(s) on the meta_graph and included graph_def.
|
String |
getTensorflowGitVersion()
The __git_version__ string of the tensorflow build used to write this
graph.
|
com.github.os72.protobuf351.ByteString |
getTensorflowGitVersionBytes()
The __git_version__ string of the tensorflow build used to write this
graph.
|
String |
getTensorflowVersion()
The __version__ string of the tensorflow build used to write this graph.
|
com.github.os72.protobuf351.ByteString |
getTensorflowVersionBytes()
The __version__ string of the tensorflow build used to write this graph.
|
com.github.os72.protobuf351.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.github.os72.protobuf351.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.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static MetaGraphDef.MetaInfoDef |
parseDelimitedFrom(InputStream input) |
static MetaGraphDef.MetaInfoDef |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef.MetaInfoDef |
parseFrom(byte[] data) |
static MetaGraphDef.MetaInfoDef |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef.MetaInfoDef |
parseFrom(ByteBuffer data) |
static MetaGraphDef.MetaInfoDef |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef.MetaInfoDef |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static MetaGraphDef.MetaInfoDef |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef.MetaInfoDef |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static MetaGraphDef.MetaInfoDef |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef.MetaInfoDef |
parseFrom(InputStream input) |
static MetaGraphDef.MetaInfoDef |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<MetaGraphDef.MetaInfoDef> |
parser() |
MetaGraphDef.MetaInfoDef.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, 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_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
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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3
public 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.MetaInfoDefOrBuilder
public com.github.os72.protobuf351.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.MetaInfoDefOrBuilder
public 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.MetaInfoDefOrBuilder
public 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.MetaInfoDefOrBuilder
public 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.MetaInfoDefOrBuilder
public 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.MetaInfoDefOrBuilder
public com.github.os72.protobuf351.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.MetaInfoDefOrBuilder
public com.github.os72.protobuf351.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.MetaInfoDefOrBuilder
public com.github.os72.protobuf351.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.MetaInfoDefOrBuilder
public 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.MetaInfoDefOrBuilder
public 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.MetaInfoDefOrBuilder
public com.github.os72.protobuf351.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.MetaInfoDefOrBuilder
public 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.MetaInfoDefOrBuilder
public com.github.os72.protobuf351.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.MetaInfoDefOrBuilder
public 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.MetaInfoDefOrBuilder
public com.github.os72.protobuf351.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.MetaInfoDefOrBuilder
public 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.MetaInfoDefOrBuilder
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.MetaInfoDef parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static MetaGraphDef.MetaInfoDef parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static MetaGraphDef.MetaInfoDef parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static MetaGraphDef.MetaInfoDef 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.MetaInfoDef parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static MetaGraphDef.MetaInfoDef parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static MetaGraphDef.MetaInfoDef parseFrom(InputStream input) throws IOException
IOException
public static MetaGraphDef.MetaInfoDef parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MetaGraphDef.MetaInfoDef parseDelimitedFrom(InputStream input) throws IOException
IOException
public static MetaGraphDef.MetaInfoDef parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static MetaGraphDef.MetaInfoDef parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static MetaGraphDef.MetaInfoDef parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public MetaGraphDef.MetaInfoDef.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static MetaGraphDef.MetaInfoDef.Builder newBuilder()
public static MetaGraphDef.MetaInfoDef.Builder newBuilder(MetaGraphDef.MetaInfoDef prototype)
public MetaGraphDef.MetaInfoDef.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected MetaGraphDef.MetaInfoDef.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public static MetaGraphDef.MetaInfoDef getDefaultInstance()
public static com.github.os72.protobuf351.Parser<MetaGraphDef.MetaInfoDef> parser()
public com.github.os72.protobuf351.Parser<MetaGraphDef.MetaInfoDef> 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.MetaInfoDef getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2019. All rights reserved.