public static final class ApiDef.Attr.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Attr.Builder> implements ApiDef.AttrOrBuilder
Description of the graph-construction-time configuration of this Op. That is to say, this describes the attr fields that will be specified in the NodeDef.Protobuf type
tensorflow.ApiDef.Attr| Modifier and Type | Method and Description |
|---|---|
ApiDef.Attr.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ApiDef.Attr |
build() |
ApiDef.Attr |
buildPartial() |
ApiDef.Attr.Builder |
clear() |
ApiDef.Attr.Builder |
clearDefaultValue()
Specify a new default value to use for this attr.
|
ApiDef.Attr.Builder |
clearDescription()
Note: this will replace any inherited attr doc, there is no current
way of modifying attr descriptions as can be done with op descriptions.
|
ApiDef.Attr.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
ApiDef.Attr.Builder |
clearName()
string name = 1; |
ApiDef.Attr.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
ApiDef.Attr.Builder |
clearRenameTo()
Change the name used to access this attr in the API from what
is used in the GraphDef.
|
ApiDef.Attr.Builder |
clone() |
ApiDef.Attr |
getDefaultInstanceForType() |
AttrValue |
getDefaultValue()
Specify a new default value to use for this attr.
|
AttrValue.Builder |
getDefaultValueBuilder()
Specify a new default value to use for this attr.
|
AttrValueOrBuilder |
getDefaultValueOrBuilder()
Specify a new default value to use for this attr.
|
String |
getDescription()
Note: this will replace any inherited attr doc, there is no current
way of modifying attr descriptions as can be done with op descriptions.
|
org.nd4j.shade.protobuf.ByteString |
getDescriptionBytes()
Note: this will replace any inherited attr doc, there is no current
way of modifying attr descriptions as can be done with op descriptions.
|
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getName()
string name = 1; |
org.nd4j.shade.protobuf.ByteString |
getNameBytes()
string name = 1; |
String |
getRenameTo()
Change the name used to access this attr in the API from what
is used in the GraphDef.
|
org.nd4j.shade.protobuf.ByteString |
getRenameToBytes()
Change the name used to access this attr in the API from what
is used in the GraphDef.
|
boolean |
hasDefaultValue()
Specify a new default value to use for this attr.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
ApiDef.Attr.Builder |
mergeDefaultValue(AttrValue value)
Specify a new default value to use for this attr.
|
ApiDef.Attr.Builder |
mergeFrom(ApiDef.Attr other) |
ApiDef.Attr.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
ApiDef.Attr.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
ApiDef.Attr.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
ApiDef.Attr.Builder |
setDefaultValue(AttrValue.Builder builderForValue)
Specify a new default value to use for this attr.
|
ApiDef.Attr.Builder |
setDefaultValue(AttrValue value)
Specify a new default value to use for this attr.
|
ApiDef.Attr.Builder |
setDescription(String value)
Note: this will replace any inherited attr doc, there is no current
way of modifying attr descriptions as can be done with op descriptions.
|
ApiDef.Attr.Builder |
setDescriptionBytes(org.nd4j.shade.protobuf.ByteString value)
Note: this will replace any inherited attr doc, there is no current
way of modifying attr descriptions as can be done with op descriptions.
|
ApiDef.Attr.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
ApiDef.Attr.Builder |
setName(String value)
string name = 1; |
ApiDef.Attr.Builder |
setNameBytes(org.nd4j.shade.protobuf.ByteString value)
string name = 1; |
ApiDef.Attr.Builder |
setRenameTo(String value)
Change the name used to access this attr in the API from what
is used in the GraphDef.
|
ApiDef.Attr.Builder |
setRenameToBytes(org.nd4j.shade.protobuf.ByteString value)
Change the name used to access this attr in the API from what
is used in the GraphDef.
|
ApiDef.Attr.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
ApiDef.Attr.Builder |
setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, 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 org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder clear()
clear in interface org.nd4j.shade.protobuf.Message.Builderclear in interface org.nd4j.shade.protobuf.MessageLite.Builderclear in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface org.nd4j.shade.protobuf.Message.BuildergetDescriptorForType in interface org.nd4j.shade.protobuf.MessageOrBuildergetDescriptorForType in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic ApiDef.Attr build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic ApiDef.Attr buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic ApiDef.Attr.Builder clone()
clone in interface org.nd4j.shade.protobuf.Message.Builderclone in interface org.nd4j.shade.protobuf.MessageLite.Builderclone in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface org.nd4j.shade.protobuf.Message.BuildersetField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
clearField in interface org.nd4j.shade.protobuf.Message.BuilderclearField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface org.nd4j.shade.protobuf.Message.BuilderclearOneof in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface org.nd4j.shade.protobuf.Message.BuildersetRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface org.nd4j.shade.protobuf.Message.BuilderaddRepeatedField in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder mergeFrom(ApiDef.Attr other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public ApiDef.Attr.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface org.nd4j.shade.protobuf.Message.BuildermergeFrom in interface org.nd4j.shade.protobuf.MessageLite.BuildermergeFrom in class org.nd4j.shade.protobuf.AbstractMessage.Builder<ApiDef.Attr.Builder>IOExceptionpublic String getName()
string name = 1;getName in interface ApiDef.AttrOrBuilderpublic org.nd4j.shade.protobuf.ByteString getNameBytes()
string name = 1;getNameBytes in interface ApiDef.AttrOrBuilderpublic ApiDef.Attr.Builder setName(String value)
string name = 1;public ApiDef.Attr.Builder clearName()
string name = 1;public ApiDef.Attr.Builder setNameBytes(org.nd4j.shade.protobuf.ByteString value)
string name = 1;public String getRenameTo()
Change the name used to access this attr in the API from what is used in the GraphDef. Note that these names in `backticks` will also be replaced in the summary & description fields.
string rename_to = 2;getRenameTo in interface ApiDef.AttrOrBuilderpublic org.nd4j.shade.protobuf.ByteString getRenameToBytes()
Change the name used to access this attr in the API from what is used in the GraphDef. Note that these names in `backticks` will also be replaced in the summary & description fields.
string rename_to = 2;getRenameToBytes in interface ApiDef.AttrOrBuilderpublic ApiDef.Attr.Builder setRenameTo(String value)
Change the name used to access this attr in the API from what is used in the GraphDef. Note that these names in `backticks` will also be replaced in the summary & description fields.
string rename_to = 2;public ApiDef.Attr.Builder clearRenameTo()
Change the name used to access this attr in the API from what is used in the GraphDef. Note that these names in `backticks` will also be replaced in the summary & description fields.
string rename_to = 2;public ApiDef.Attr.Builder setRenameToBytes(org.nd4j.shade.protobuf.ByteString value)
Change the name used to access this attr in the API from what is used in the GraphDef. Note that these names in `backticks` will also be replaced in the summary & description fields.
string rename_to = 2;public boolean hasDefaultValue()
Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;hasDefaultValue in interface ApiDef.AttrOrBuilderpublic AttrValue getDefaultValue()
Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;getDefaultValue in interface ApiDef.AttrOrBuilderpublic ApiDef.Attr.Builder setDefaultValue(AttrValue value)
Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;public ApiDef.Attr.Builder setDefaultValue(AttrValue.Builder builderForValue)
Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;public ApiDef.Attr.Builder mergeDefaultValue(AttrValue value)
Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;public ApiDef.Attr.Builder clearDefaultValue()
Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;public AttrValue.Builder getDefaultValueBuilder()
Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;public AttrValueOrBuilder getDefaultValueOrBuilder()
Specify a new default value to use for this attr. This default will be used when creating new graphs, as opposed to the default in the OpDef, which will be used when interpreting old GraphDefs.
.tensorflow.AttrValue default_value = 3;getDefaultValueOrBuilder in interface ApiDef.AttrOrBuilderpublic String getDescription()
Note: this will replace any inherited attr doc, there is no current way of modifying attr descriptions as can be done with op descriptions.
string description = 4;getDescription in interface ApiDef.AttrOrBuilderpublic org.nd4j.shade.protobuf.ByteString getDescriptionBytes()
Note: this will replace any inherited attr doc, there is no current way of modifying attr descriptions as can be done with op descriptions.
string description = 4;getDescriptionBytes in interface ApiDef.AttrOrBuilderpublic ApiDef.Attr.Builder setDescription(String value)
Note: this will replace any inherited attr doc, there is no current way of modifying attr descriptions as can be done with op descriptions.
string description = 4;public ApiDef.Attr.Builder clearDescription()
Note: this will replace any inherited attr doc, there is no current way of modifying attr descriptions as can be done with op descriptions.
string description = 4;public ApiDef.Attr.Builder setDescriptionBytes(org.nd4j.shade.protobuf.ByteString value)
Note: this will replace any inherited attr doc, there is no current way of modifying attr descriptions as can be done with op descriptions.
string description = 4;public final ApiDef.Attr.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildersetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>public final ApiDef.Attr.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface org.nd4j.shade.protobuf.Message.BuildermergeUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>Copyright © 2021. All rights reserved.