public static final class MetaGraphDef.MetaInfoDef extends org.nd4j.shade.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.
|
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 |
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) |
org.nd4j.shade.protobuf.Any |
getAnyInfo()
A serialized protobuf.
|
org.nd4j.shade.protobuf.AnyOrBuilder |
getAnyInfoOrBuilder()
A serialized protobuf.
|
static MetaGraphDef.MetaInfoDef |
getDefaultInstance() |
MetaGraphDef.MetaInfoDef |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getMetaGraphVersion()
User specified Version string.
|
org.nd4j.shade.protobuf.ByteString |
getMetaGraphVersionBytes()
User specified Version string.
|
org.nd4j.shade.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.
|
String |
getTags(int index)
User supplied tag(s) on the meta_graph and included graph_def.
|
org.nd4j.shade.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.
|
org.nd4j.shade.protobuf.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.
|
org.nd4j.shade.protobuf.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.
|
org.nd4j.shade.protobuf.ByteString |
getTensorflowVersionBytes()
The __version__ string of the tensorflow build used to write this graph.
|
org.nd4j.shade.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 org.nd4j.shade.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(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static MetaGraphDef.MetaInfoDef |
parseDelimitedFrom(InputStream input) |
static MetaGraphDef.MetaInfoDef |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef.MetaInfoDef |
parseFrom(byte[] data) |
static MetaGraphDef.MetaInfoDef |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef.MetaInfoDef |
parseFrom(ByteBuffer data) |
static MetaGraphDef.MetaInfoDef |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef.MetaInfoDef |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static MetaGraphDef.MetaInfoDef |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef.MetaInfoDef |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static MetaGraphDef.MetaInfoDef |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static MetaGraphDef.MetaInfoDef |
parseFrom(InputStream input) |
static MetaGraphDef.MetaInfoDef |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<MetaGraphDef.MetaInfoDef> |
parser() |
MetaGraphDef.MetaInfoDef.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, 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 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3public 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 org.nd4j.shade.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 org.nd4j.shade.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 org.nd4j.shade.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 org.nd4j.shade.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 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.MetaInfoDefOrBuilderpublic org.nd4j.shade.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.MetaInfoDefOrBuilderpublic 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 org.nd4j.shade.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 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 org.nd4j.shade.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 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.MetaInfoDef parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static MetaGraphDef.MetaInfoDef parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static MetaGraphDef.MetaInfoDef parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static MetaGraphDef.MetaInfoDef 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.MetaInfoDef parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static MetaGraphDef.MetaInfoDef parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static MetaGraphDef.MetaInfoDef parseFrom(InputStream input) throws IOException
IOExceptionpublic static MetaGraphDef.MetaInfoDef parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MetaGraphDef.MetaInfoDef parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static MetaGraphDef.MetaInfoDef parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static MetaGraphDef.MetaInfoDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static MetaGraphDef.MetaInfoDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic MetaGraphDef.MetaInfoDef.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static MetaGraphDef.MetaInfoDef.Builder newBuilder()
public static MetaGraphDef.MetaInfoDef.Builder newBuilder(MetaGraphDef.MetaInfoDef prototype)
public MetaGraphDef.MetaInfoDef.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected MetaGraphDef.MetaInfoDef.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public static MetaGraphDef.MetaInfoDef getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<MetaGraphDef.MetaInfoDef> parser()
public org.nd4j.shade.protobuf.Parser<MetaGraphDef.MetaInfoDef> getParserForType()
getParserForType in interface org.nd4j.shade.protobuf.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public MetaGraphDef.MetaInfoDef getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.