public static final class KernelDef.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<KernelDef.Builder> implements KernelDefOrBuilder
tensorflow.KernelDef| Modifier and Type | Method and Description |
|---|---|
KernelDef.Builder |
addAllConstraint(Iterable<? extends KernelDef.AttrConstraint> values)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.Builder |
addAllHostMemoryArg(Iterable<String> values)
Names of the Op's input_/output_args that reside in host memory
instead of device memory.
|
KernelDef.Builder |
addConstraint(int index,
KernelDef.AttrConstraint.Builder builderForValue)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.Builder |
addConstraint(int index,
KernelDef.AttrConstraint value)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.Builder |
addConstraint(KernelDef.AttrConstraint.Builder builderForValue)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.Builder |
addConstraint(KernelDef.AttrConstraint value)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.AttrConstraint.Builder |
addConstraintBuilder()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.AttrConstraint.Builder |
addConstraintBuilder(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.Builder |
addHostMemoryArg(String value)
Names of the Op's input_/output_args that reside in host memory
instead of device memory.
|
KernelDef.Builder |
addHostMemoryArgBytes(org.nd4j.shade.protobuf.ByteString value)
Names of the Op's input_/output_args that reside in host memory
instead of device memory.
|
KernelDef.Builder |
addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
KernelDef |
build() |
KernelDef |
buildPartial() |
KernelDef.Builder |
clear() |
KernelDef.Builder |
clearConstraint()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.Builder |
clearDeviceType()
Type of device this kernel runs on.
|
KernelDef.Builder |
clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field) |
KernelDef.Builder |
clearHostMemoryArg()
Names of the Op's input_/output_args that reside in host memory
instead of device memory.
|
KernelDef.Builder |
clearLabel()
This allows experimental kernels to be registered for an op that
won't be used unless the user specifies a "_kernel" attr with
value matching this.
|
KernelDef.Builder |
clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof) |
KernelDef.Builder |
clearOp()
Must match the name of an Op.
|
KernelDef.Builder |
clone() |
KernelDef.AttrConstraint |
getConstraint(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.AttrConstraint.Builder |
getConstraintBuilder(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
List<KernelDef.AttrConstraint.Builder> |
getConstraintBuilderList()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
int |
getConstraintCount()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
List<KernelDef.AttrConstraint> |
getConstraintList()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.AttrConstraintOrBuilder |
getConstraintOrBuilder(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
List<? extends KernelDef.AttrConstraintOrBuilder> |
getConstraintOrBuilderList()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef |
getDefaultInstanceForType() |
static org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDeviceType()
Type of device this kernel runs on.
|
org.nd4j.shade.protobuf.ByteString |
getDeviceTypeBytes()
Type of device this kernel runs on.
|
String |
getHostMemoryArg(int index)
Names of the Op's input_/output_args that reside in host memory
instead of device memory.
|
org.nd4j.shade.protobuf.ByteString |
getHostMemoryArgBytes(int index)
Names of the Op's input_/output_args that reside in host memory
instead of device memory.
|
int |
getHostMemoryArgCount()
Names of the Op's input_/output_args that reside in host memory
instead of device memory.
|
org.nd4j.shade.protobuf.ProtocolStringList |
getHostMemoryArgList()
Names of the Op's input_/output_args that reside in host memory
instead of device memory.
|
String |
getLabel()
This allows experimental kernels to be registered for an op that
won't be used unless the user specifies a "_kernel" attr with
value matching this.
|
org.nd4j.shade.protobuf.ByteString |
getLabelBytes()
This allows experimental kernels to be registered for an op that
won't be used unless the user specifies a "_kernel" attr with
value matching this.
|
String |
getOp()
Must match the name of an Op.
|
org.nd4j.shade.protobuf.ByteString |
getOpBytes()
Must match the name of an Op.
|
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
KernelDef.Builder |
mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef.Builder |
mergeFrom(KernelDef other) |
KernelDef.Builder |
mergeFrom(org.nd4j.shade.protobuf.Message other) |
KernelDef.Builder |
mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields) |
KernelDef.Builder |
removeConstraint(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.Builder |
setConstraint(int index,
KernelDef.AttrConstraint.Builder builderForValue)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.Builder |
setConstraint(int index,
KernelDef.AttrConstraint value)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.Builder |
setDeviceType(String value)
Type of device this kernel runs on.
|
KernelDef.Builder |
setDeviceTypeBytes(org.nd4j.shade.protobuf.ByteString value)
Type of device this kernel runs on.
|
KernelDef.Builder |
setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
Object value) |
KernelDef.Builder |
setHostMemoryArg(int index,
String value)
Names of the Op's input_/output_args that reside in host memory
instead of device memory.
|
KernelDef.Builder |
setLabel(String value)
This allows experimental kernels to be registered for an op that
won't be used unless the user specifies a "_kernel" attr with
value matching this.
|
KernelDef.Builder |
setLabelBytes(org.nd4j.shade.protobuf.ByteString value)
This allows experimental kernels to be registered for an op that
won't be used unless the user specifies a "_kernel" attr with
value matching this.
|
KernelDef.Builder |
setOp(String value)
Must match the name of an Op.
|
KernelDef.Builder |
setOpBytes(org.nd4j.shade.protobuf.ByteString value)
Must match the name of an Op.
|
KernelDef.Builder |
setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
KernelDef.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<KernelDef.Builder>public KernelDef.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<KernelDef.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<KernelDef.Builder>public KernelDef getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderpublic KernelDef build()
build in interface org.nd4j.shade.protobuf.Message.Builderbuild in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic KernelDef buildPartial()
buildPartial in interface org.nd4j.shade.protobuf.Message.BuilderbuildPartial in interface org.nd4j.shade.protobuf.MessageLite.Builderpublic KernelDef.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<KernelDef.Builder>public KernelDef.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<KernelDef.Builder>public KernelDef.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<KernelDef.Builder>public KernelDef.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<KernelDef.Builder>public KernelDef.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<KernelDef.Builder>public KernelDef.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<KernelDef.Builder>public KernelDef.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<KernelDef.Builder>public KernelDef.Builder mergeFrom(KernelDef other)
public final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<KernelDef.Builder>public KernelDef.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<KernelDef.Builder>IOExceptionpublic String getOp()
Must match the name of an Op.
string op = 1;getOp in interface KernelDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getOpBytes()
Must match the name of an Op.
string op = 1;getOpBytes in interface KernelDefOrBuilderpublic KernelDef.Builder setOp(String value)
Must match the name of an Op.
string op = 1;public KernelDef.Builder clearOp()
Must match the name of an Op.
string op = 1;public KernelDef.Builder setOpBytes(org.nd4j.shade.protobuf.ByteString value)
Must match the name of an Op.
string op = 1;public String getDeviceType()
Type of device this kernel runs on.
string device_type = 2;getDeviceType in interface KernelDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getDeviceTypeBytes()
Type of device this kernel runs on.
string device_type = 2;getDeviceTypeBytes in interface KernelDefOrBuilderpublic KernelDef.Builder setDeviceType(String value)
Type of device this kernel runs on.
string device_type = 2;public KernelDef.Builder clearDeviceType()
Type of device this kernel runs on.
string device_type = 2;public KernelDef.Builder setDeviceTypeBytes(org.nd4j.shade.protobuf.ByteString value)
Type of device this kernel runs on.
string device_type = 2;public List<KernelDef.AttrConstraint> getConstraintList()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;getConstraintList in interface KernelDefOrBuilderpublic int getConstraintCount()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;getConstraintCount in interface KernelDefOrBuilderpublic KernelDef.AttrConstraint getConstraint(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;getConstraint in interface KernelDefOrBuilderpublic KernelDef.Builder setConstraint(int index, KernelDef.AttrConstraint value)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;public KernelDef.Builder setConstraint(int index, KernelDef.AttrConstraint.Builder builderForValue)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;public KernelDef.Builder addConstraint(KernelDef.AttrConstraint value)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;public KernelDef.Builder addConstraint(int index, KernelDef.AttrConstraint value)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;public KernelDef.Builder addConstraint(KernelDef.AttrConstraint.Builder builderForValue)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;public KernelDef.Builder addConstraint(int index, KernelDef.AttrConstraint.Builder builderForValue)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;public KernelDef.Builder addAllConstraint(Iterable<? extends KernelDef.AttrConstraint> values)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;public KernelDef.Builder clearConstraint()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;public KernelDef.Builder removeConstraint(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;public KernelDef.AttrConstraint.Builder getConstraintBuilder(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;public KernelDef.AttrConstraintOrBuilder getConstraintOrBuilder(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;getConstraintOrBuilder in interface KernelDefOrBuilderpublic List<? extends KernelDef.AttrConstraintOrBuilder> getConstraintOrBuilderList()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;getConstraintOrBuilderList in interface KernelDefOrBuilderpublic KernelDef.AttrConstraint.Builder addConstraintBuilder()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;public KernelDef.AttrConstraint.Builder addConstraintBuilder(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;public List<KernelDef.AttrConstraint.Builder> getConstraintBuilderList()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;public org.nd4j.shade.protobuf.ProtocolStringList getHostMemoryArgList()
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;getHostMemoryArgList in interface KernelDefOrBuilderpublic int getHostMemoryArgCount()
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;getHostMemoryArgCount in interface KernelDefOrBuilderpublic String getHostMemoryArg(int index)
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;getHostMemoryArg in interface KernelDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getHostMemoryArgBytes(int index)
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;getHostMemoryArgBytes in interface KernelDefOrBuilderpublic KernelDef.Builder setHostMemoryArg(int index, String value)
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;public KernelDef.Builder addHostMemoryArg(String value)
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;public KernelDef.Builder addAllHostMemoryArg(Iterable<String> values)
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;public KernelDef.Builder clearHostMemoryArg()
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;public KernelDef.Builder addHostMemoryArgBytes(org.nd4j.shade.protobuf.ByteString value)
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;public String getLabel()
This allows experimental kernels to be registered for an op that won't be used unless the user specifies a "_kernel" attr with value matching this.
string label = 5;getLabel in interface KernelDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getLabelBytes()
This allows experimental kernels to be registered for an op that won't be used unless the user specifies a "_kernel" attr with value matching this.
string label = 5;getLabelBytes in interface KernelDefOrBuilderpublic KernelDef.Builder setLabel(String value)
This allows experimental kernels to be registered for an op that won't be used unless the user specifies a "_kernel" attr with value matching this.
string label = 5;public KernelDef.Builder clearLabel()
This allows experimental kernels to be registered for an op that won't be used unless the user specifies a "_kernel" attr with value matching this.
string label = 5;public KernelDef.Builder setLabelBytes(org.nd4j.shade.protobuf.ByteString value)
This allows experimental kernels to be registered for an op that won't be used unless the user specifies a "_kernel" attr with value matching this.
string label = 5;public final KernelDef.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<KernelDef.Builder>public final KernelDef.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<KernelDef.Builder>Copyright © 2021. All rights reserved.