public static final class MetaGraphDef.MetaInfoDef.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder> 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 | Method and Description | 
|---|---|
| MetaGraphDef.MetaInfoDef.Builder | addAllTags(Iterable<String> values)
 User supplied tag(s) on the meta_graph and included graph_def. | 
| MetaGraphDef.MetaInfoDef.Builder | addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
                Object value) | 
| MetaGraphDef.MetaInfoDef.Builder | addTags(String value)
 User supplied tag(s) on the meta_graph and included graph_def. | 
| MetaGraphDef.MetaInfoDef.Builder | addTagsBytes(com.google.protobuf.ByteString value)
 User supplied tag(s) on the meta_graph and included graph_def. | 
| MetaGraphDef.MetaInfoDef | build() | 
| MetaGraphDef.MetaInfoDef | buildPartial() | 
| MetaGraphDef.MetaInfoDef.Builder | clear() | 
| MetaGraphDef.MetaInfoDef.Builder | clearAnyInfo()
 A serialized protobuf. | 
| MetaGraphDef.MetaInfoDef.Builder | clearField(com.google.protobuf.Descriptors.FieldDescriptor field) | 
| MetaGraphDef.MetaInfoDef.Builder | clearFunctionAliases() | 
| MetaGraphDef.MetaInfoDef.Builder | clearMetaGraphVersion()
 User specified Version string. | 
| MetaGraphDef.MetaInfoDef.Builder | clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) | 
| MetaGraphDef.MetaInfoDef.Builder | clearStrippedDefaultAttrs()
 A flag to denote whether default-valued attrs have been stripped from
 the nodes in this graph_def. | 
| MetaGraphDef.MetaInfoDef.Builder | clearStrippedOpList()
 A copy of the OpDefs used by the producer of this graph_def. | 
| MetaGraphDef.MetaInfoDef.Builder | clearTags()
 User supplied tag(s) on the meta_graph and included graph_def. | 
| MetaGraphDef.MetaInfoDef.Builder | clearTensorflowGitVersion()
 The __git_version__ string of the tensorflow build used to write this
 graph. | 
| MetaGraphDef.MetaInfoDef.Builder | clearTensorflowVersion()
 The __version__ string of the tensorflow build used to write this graph. | 
| MetaGraphDef.MetaInfoDef.Builder | clone() | 
| boolean | containsFunctionAliases(String key)
 FunctionDef name to aliases mapping. | 
| com.google.protobuf.Any | getAnyInfo()
 A serialized protobuf. | 
| com.google.protobuf.Any.Builder | getAnyInfoBuilder()
 A serialized protobuf. | 
| com.google.protobuf.AnyOrBuilder | getAnyInfoOrBuilder()
 A serialized protobuf. | 
| MetaGraphDef.MetaInfoDef | getDefaultInstanceForType() | 
| static com.google.protobuf.Descriptors.Descriptor | getDescriptor() | 
| com.google.protobuf.Descriptors.Descriptor | getDescriptorForType() | 
| Map<String,String> | getFunctionAliases()Deprecated.  | 
| int | getFunctionAliasesCount()
 FunctionDef name to aliases mapping. | 
| Map<String,String> | getFunctionAliasesMap()
 FunctionDef name to aliases mapping. | 
| String | getFunctionAliasesOrDefault(String key,
                           String defaultValue)
 FunctionDef name to aliases mapping. | 
| String | getFunctionAliasesOrThrow(String key)
 FunctionDef name to aliases mapping. | 
| String | getMetaGraphVersion()
 User specified Version string. | 
| com.google.protobuf.ByteString | getMetaGraphVersionBytes()
 User specified Version string. | 
| Map<String,String> | getMutableFunctionAliases()Deprecated.  | 
| 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. | 
| OpList.Builder | getStrippedOpListBuilder()
 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.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. | 
| 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. | 
| 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. | 
| boolean | hasAnyInfo()
 A serialized protobuf. | 
| boolean | hasStrippedOpList()
 A copy of the OpDefs used by the producer of this graph_def. | 
| protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable() | 
| protected com.google.protobuf.MapField | internalGetMapField(int number) | 
| protected com.google.protobuf.MapField | internalGetMutableMapField(int number) | 
| boolean | isInitialized() | 
| MetaGraphDef.MetaInfoDef.Builder | mergeAnyInfo(com.google.protobuf.Any value)
 A serialized protobuf. | 
| MetaGraphDef.MetaInfoDef.Builder | mergeFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| MetaGraphDef.MetaInfoDef.Builder | mergeFrom(com.google.protobuf.Message other) | 
| MetaGraphDef.MetaInfoDef.Builder | mergeFrom(MetaGraphDef.MetaInfoDef other) | 
| MetaGraphDef.MetaInfoDef.Builder | mergeStrippedOpList(OpList value)
 A copy of the OpDefs used by the producer of this graph_def. | 
| MetaGraphDef.MetaInfoDef.Builder | mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) | 
| MetaGraphDef.MetaInfoDef.Builder | putAllFunctionAliases(Map<String,String> values)
 FunctionDef name to aliases mapping. | 
| MetaGraphDef.MetaInfoDef.Builder | putFunctionAliases(String key,
                  String value)
 FunctionDef name to aliases mapping. | 
| MetaGraphDef.MetaInfoDef.Builder | removeFunctionAliases(String key)
 FunctionDef name to aliases mapping. | 
| MetaGraphDef.MetaInfoDef.Builder | setAnyInfo(com.google.protobuf.Any.Builder builderForValue)
 A serialized protobuf. | 
| MetaGraphDef.MetaInfoDef.Builder | setAnyInfo(com.google.protobuf.Any value)
 A serialized protobuf. | 
| MetaGraphDef.MetaInfoDef.Builder | setField(com.google.protobuf.Descriptors.FieldDescriptor field,
        Object value) | 
| MetaGraphDef.MetaInfoDef.Builder | setMetaGraphVersion(String value)
 User specified Version string. | 
| MetaGraphDef.MetaInfoDef.Builder | setMetaGraphVersionBytes(com.google.protobuf.ByteString value)
 User specified Version string. | 
| MetaGraphDef.MetaInfoDef.Builder | setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
                int index,
                Object value) | 
| MetaGraphDef.MetaInfoDef.Builder | setStrippedDefaultAttrs(boolean value)
 A flag to denote whether default-valued attrs have been stripped from
 the nodes in this graph_def. | 
| MetaGraphDef.MetaInfoDef.Builder | setStrippedOpList(OpList.Builder builderForValue)
 A copy of the OpDefs used by the producer of this graph_def. | 
| MetaGraphDef.MetaInfoDef.Builder | setStrippedOpList(OpList value)
 A copy of the OpDefs used by the producer of this graph_def. | 
| MetaGraphDef.MetaInfoDef.Builder | setTags(int index,
       String value)
 User supplied tag(s) on the meta_graph and included graph_def. | 
| MetaGraphDef.MetaInfoDef.Builder | setTensorflowGitVersion(String value)
 The __git_version__ string of the tensorflow build used to write this
 graph. | 
| MetaGraphDef.MetaInfoDef.Builder | setTensorflowGitVersionBytes(com.google.protobuf.ByteString value)
 The __git_version__ string of the tensorflow build used to write this
 graph. | 
| MetaGraphDef.MetaInfoDef.Builder | setTensorflowVersion(String value)
 The __version__ string of the tensorflow build used to write this graph. | 
| MetaGraphDef.MetaInfoDef.Builder | setTensorflowVersionBytes(com.google.protobuf.ByteString value)
 The __version__ string of the tensorflow build used to write this graph. | 
| MetaGraphDef.MetaInfoDef.Builder | setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) | 
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>protected com.google.protobuf.MapField internalGetMutableMapField(int number)
internalGetMutableMapField in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic MetaGraphDef.MetaInfoDef build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic MetaGraphDef.MetaInfoDef buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic MetaGraphDef.MetaInfoDef.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder mergeFrom(MetaGraphDef.MetaInfoDef other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public MetaGraphDef.MetaInfoDef.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<MetaGraphDef.MetaInfoDef.Builder>IOExceptionpublic 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 MetaGraphDef.MetaInfoDef.Builder setMetaGraphVersion(String value)
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;public MetaGraphDef.MetaInfoDef.Builder clearMetaGraphVersion()
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;public MetaGraphDef.MetaInfoDef.Builder setMetaGraphVersionBytes(com.google.protobuf.ByteString value)
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;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.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 MetaGraphDef.MetaInfoDef.Builder setStrippedOpList(OpList value)
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;public MetaGraphDef.MetaInfoDef.Builder setStrippedOpList(OpList.Builder builderForValue)
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;public MetaGraphDef.MetaInfoDef.Builder mergeStrippedOpList(OpList value)
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;public MetaGraphDef.MetaInfoDef.Builder clearStrippedOpList()
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;public OpList.Builder getStrippedOpListBuilder()
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;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.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 MetaGraphDef.MetaInfoDef.Builder setAnyInfo(com.google.protobuf.Any value)
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;public MetaGraphDef.MetaInfoDef.Builder setAnyInfo(com.google.protobuf.Any.Builder builderForValue)
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;public MetaGraphDef.MetaInfoDef.Builder mergeAnyInfo(com.google.protobuf.Any value)
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;public MetaGraphDef.MetaInfoDef.Builder clearAnyInfo()
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;public com.google.protobuf.Any.Builder getAnyInfoBuilder()
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;public 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 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 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.MetaInfoDefOrBuilderpublic MetaGraphDef.MetaInfoDef.Builder setTags(int index, String value)
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;public MetaGraphDef.MetaInfoDef.Builder addTags(String value)
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;public MetaGraphDef.MetaInfoDef.Builder addAllTags(Iterable<String> values)
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;public MetaGraphDef.MetaInfoDef.Builder clearTags()
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;public MetaGraphDef.MetaInfoDef.Builder addTagsBytes(com.google.protobuf.ByteString value)
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;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.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 MetaGraphDef.MetaInfoDef.Builder setTensorflowVersion(String value)
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;public MetaGraphDef.MetaInfoDef.Builder clearTensorflowVersion()
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;public MetaGraphDef.MetaInfoDef.Builder setTensorflowVersionBytes(com.google.protobuf.ByteString value)
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;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.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 MetaGraphDef.MetaInfoDef.Builder setTensorflowGitVersion(String value)
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;public MetaGraphDef.MetaInfoDef.Builder clearTensorflowGitVersion()
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;public MetaGraphDef.MetaInfoDef.Builder setTensorflowGitVersionBytes(com.google.protobuf.ByteString value)
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;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.MetaInfoDefOrBuilderpublic MetaGraphDef.MetaInfoDef.Builder setStrippedDefaultAttrs(boolean value)
A flag to denote whether default-valued attrs have been stripped from the nodes in this graph_def.
bool stripped_default_attrs = 7;public MetaGraphDef.MetaInfoDef.Builder clearStrippedDefaultAttrs()
A flag to denote whether default-valued attrs have been stripped from the nodes in this graph_def.
bool stripped_default_attrs = 7;public int getFunctionAliasesCount()
MetaGraphDef.MetaInfoDefOrBuilderFunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;getFunctionAliasesCount in interface MetaGraphDef.MetaInfoDefOrBuilderpublic boolean containsFunctionAliases(String key)
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;containsFunctionAliases in interface MetaGraphDef.MetaInfoDefOrBuilder@Deprecated public Map<String,String> getFunctionAliases()
getFunctionAliasesMap() instead.getFunctionAliases in interface MetaGraphDef.MetaInfoDefOrBuilderpublic Map<String,String> getFunctionAliasesMap()
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;getFunctionAliasesMap in interface MetaGraphDef.MetaInfoDefOrBuilderpublic String getFunctionAliasesOrDefault(String key, String defaultValue)
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;getFunctionAliasesOrDefault in interface MetaGraphDef.MetaInfoDefOrBuilderpublic String getFunctionAliasesOrThrow(String key)
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;getFunctionAliasesOrThrow in interface MetaGraphDef.MetaInfoDefOrBuilderpublic MetaGraphDef.MetaInfoDef.Builder clearFunctionAliases()
public MetaGraphDef.MetaInfoDef.Builder removeFunctionAliases(String key)
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;@Deprecated public Map<String,String> getMutableFunctionAliases()
public MetaGraphDef.MetaInfoDef.Builder putFunctionAliases(String key, String value)
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;public MetaGraphDef.MetaInfoDef.Builder putAllFunctionAliases(Map<String,String> values)
FunctionDef name to aliases mapping.
map<string, string> function_aliases = 8;public final MetaGraphDef.MetaInfoDef.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>public final MetaGraphDef.MetaInfoDef.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<MetaGraphDef.MetaInfoDef.Builder>Copyright © 2015–2022. All rights reserved.