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, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public 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.Builder
clear
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clear
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.Builder
getDescriptorForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getDescriptorForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>
public ApiDef.Attr getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
public ApiDef.Attr build()
build
in interface org.nd4j.shade.protobuf.Message.Builder
build
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public ApiDef.Attr buildPartial()
buildPartial
in interface org.nd4j.shade.protobuf.Message.Builder
buildPartial
in interface org.nd4j.shade.protobuf.MessageLite.Builder
public ApiDef.Attr.Builder clone()
clone
in interface org.nd4j.shade.protobuf.Message.Builder
clone
in interface org.nd4j.shade.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface org.nd4j.shade.protobuf.MessageLite.Builder
mergeFrom
in class org.nd4j.shade.protobuf.AbstractMessage.Builder<ApiDef.Attr.Builder>
IOException
public String getName()
string name = 1;
getName
in interface ApiDef.AttrOrBuilder
public org.nd4j.shade.protobuf.ByteString getNameBytes()
string name = 1;
getNameBytes
in interface ApiDef.AttrOrBuilder
public 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.AttrOrBuilder
public 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.AttrOrBuilder
public 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.AttrOrBuilder
public 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.AttrOrBuilder
public 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.AttrOrBuilder
public 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.AttrOrBuilder
public 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.AttrOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<ApiDef.Attr.Builder>
Copyright © 2020. All rights reserved.