Package org.tensorflow.framework
Class KernelDef.Builder
- java.lang.Object
-
- org.nd4j.shade.protobuf.AbstractMessageLite.Builder
-
- org.nd4j.shade.protobuf.AbstractMessage.Builder<BuilderType>
-
- org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<KernelDef.Builder>
-
- org.tensorflow.framework.KernelDef.Builder
-
- All Implemented Interfaces:
Cloneable,org.nd4j.shade.protobuf.Message.Builder,org.nd4j.shade.protobuf.MessageLite.Builder,org.nd4j.shade.protobuf.MessageLiteOrBuilder,org.nd4j.shade.protobuf.MessageOrBuilder,KernelDefOrBuilder
- Enclosing class:
- KernelDef
public static final class KernelDef.Builder extends org.nd4j.shade.protobuf.GeneratedMessageV3.Builder<KernelDef.Builder> implements KernelDefOrBuilder
Protobuf typetensorflow.KernelDef
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description KernelDef.BuilderaddAllConstraint(Iterable<? extends KernelDef.AttrConstraint> values)repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;KernelDef.BuilderaddAllHostMemoryArg(Iterable<String> values)Names of the Op's input_/output_args that reside in host memory instead of device memory.KernelDef.BuilderaddConstraint(int index, KernelDef.AttrConstraint value)repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;KernelDef.BuilderaddConstraint(int index, KernelDef.AttrConstraint.Builder builderForValue)repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;KernelDef.BuilderaddConstraint(KernelDef.AttrConstraint value)repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;KernelDef.BuilderaddConstraint(KernelDef.AttrConstraint.Builder builderForValue)repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;KernelDef.AttrConstraint.BuilderaddConstraintBuilder()repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;KernelDef.AttrConstraint.BuilderaddConstraintBuilder(int index)repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;KernelDef.BuilderaddHostMemoryArg(String value)Names of the Op's input_/output_args that reside in host memory instead of device memory.KernelDef.BuilderaddHostMemoryArgBytes(org.nd4j.shade.protobuf.ByteString value)Names of the Op's input_/output_args that reside in host memory instead of device memory.KernelDef.BuilderaddRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)KernelDefbuild()KernelDefbuildPartial()KernelDef.Builderclear()KernelDef.BuilderclearConstraint()repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;KernelDef.BuilderclearDeviceType()Type of device this kernel runs on.KernelDef.BuilderclearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)KernelDef.BuilderclearHostMemoryArg()Names of the Op's input_/output_args that reside in host memory instead of device memory.KernelDef.BuilderclearLabel()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.BuilderclearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)KernelDef.BuilderclearOp()Must match the name of an Op.KernelDef.Builderclone()KernelDef.AttrConstraintgetConstraint(int index)repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;KernelDef.AttrConstraint.BuildergetConstraintBuilder(int index)repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;List<KernelDef.AttrConstraint.Builder>getConstraintBuilderList()repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;intgetConstraintCount()repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;List<KernelDef.AttrConstraint>getConstraintList()repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;KernelDef.AttrConstraintOrBuildergetConstraintOrBuilder(int index)repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;List<? extends KernelDef.AttrConstraintOrBuilder>getConstraintOrBuilderList()repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;KernelDefgetDefaultInstanceForType()static org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetDeviceType()Type of device this kernel runs on.org.nd4j.shade.protobuf.ByteStringgetDeviceTypeBytes()Type of device this kernel runs on.StringgetHostMemoryArg(int index)Names of the Op's input_/output_args that reside in host memory instead of device memory.org.nd4j.shade.protobuf.ByteStringgetHostMemoryArgBytes(int index)Names of the Op's input_/output_args that reside in host memory instead of device memory.intgetHostMemoryArgCount()Names of the Op's input_/output_args that reside in host memory instead of device memory.org.nd4j.shade.protobuf.ProtocolStringListgetHostMemoryArgList()Names of the Op's input_/output_args that reside in host memory instead of device memory.StringgetLabel()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.ByteStringgetLabelBytes()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.StringgetOp()Must match the name of an Op.org.nd4j.shade.protobuf.ByteStringgetOpBytes()Must match the name of an Op.protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()KernelDef.BuildermergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry)KernelDef.BuildermergeFrom(org.nd4j.shade.protobuf.Message other)KernelDef.BuildermergeFrom(KernelDef other)KernelDef.BuildermergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)KernelDef.BuilderremoveConstraint(int index)repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;KernelDef.BuildersetConstraint(int index, KernelDef.AttrConstraint value)repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;KernelDef.BuildersetConstraint(int index, KernelDef.AttrConstraint.Builder builderForValue)repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;KernelDef.BuildersetDeviceType(String value)Type of device this kernel runs on.KernelDef.BuildersetDeviceTypeBytes(org.nd4j.shade.protobuf.ByteString value)Type of device this kernel runs on.KernelDef.BuildersetField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)KernelDef.BuildersetHostMemoryArg(int index, String value)Names of the Op's input_/output_args that reside in host memory instead of device memory.KernelDef.BuildersetLabel(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.BuildersetLabelBytes(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.BuildersetOp(String value)Must match the name of an Op.KernelDef.BuildersetOpBytes(org.nd4j.shade.protobuf.ByteString value)Must match the name of an Op.KernelDef.BuildersetRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)KernelDef.BuildersetUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class org.nd4j.shade.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class org.nd4j.shade.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<KernelDef.Builder>
-
clear
public KernelDef.Builder clear()
- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clearin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clearin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<KernelDef.Builder>
-
getDescriptorForType
public org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<KernelDef.Builder>
-
getDefaultInstanceForType
public KernelDef getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfaceorg.nd4j.shade.protobuf.MessageOrBuilder
-
build
public KernelDef build()
- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
buildPartial
public KernelDef buildPartial()
- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
buildPartialin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder
-
clone
public KernelDef.Builder clone()
- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
clonein interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
clonein classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<KernelDef.Builder>
-
setField
public KernelDef.Builder setField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<KernelDef.Builder>
-
clearField
public KernelDef.Builder clearField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<KernelDef.Builder>
-
clearOneof
public KernelDef.Builder clearOneof(org.nd4j.shade.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
clearOneofin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<KernelDef.Builder>
-
setRepeatedField
public KernelDef.Builder setRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<KernelDef.Builder>
-
addRepeatedField
public KernelDef.Builder addRepeatedField(org.nd4j.shade.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<KernelDef.Builder>
-
mergeFrom
public KernelDef.Builder mergeFrom(org.nd4j.shade.protobuf.Message other)
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<KernelDef.Builder>
-
mergeFrom
public KernelDef.Builder mergeFrom(KernelDef other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfaceorg.nd4j.shade.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<KernelDef.Builder>
-
mergeFrom
public KernelDef.Builder mergeFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.Message.Builder- Specified by:
mergeFromin interfaceorg.nd4j.shade.protobuf.MessageLite.Builder- Overrides:
mergeFromin classorg.nd4j.shade.protobuf.AbstractMessage.Builder<KernelDef.Builder>- Throws:
IOException
-
getOp
public String getOp()
Must match the name of an Op.
string op = 1;- Specified by:
getOpin interfaceKernelDefOrBuilder- Returns:
- The op.
-
getOpBytes
public org.nd4j.shade.protobuf.ByteString getOpBytes()
Must match the name of an Op.
string op = 1;- Specified by:
getOpBytesin interfaceKernelDefOrBuilder- Returns:
- The bytes for op.
-
setOp
public KernelDef.Builder setOp(String value)
Must match the name of an Op.
string op = 1;- Parameters:
value- The op to set.- Returns:
- This builder for chaining.
-
clearOp
public KernelDef.Builder clearOp()
Must match the name of an Op.
string op = 1;- Returns:
- This builder for chaining.
-
setOpBytes
public KernelDef.Builder setOpBytes(org.nd4j.shade.protobuf.ByteString value)
Must match the name of an Op.
string op = 1;- Parameters:
value- The bytes for op to set.- Returns:
- This builder for chaining.
-
getDeviceType
public String getDeviceType()
Type of device this kernel runs on.
string device_type = 2;- Specified by:
getDeviceTypein interfaceKernelDefOrBuilder- Returns:
- The deviceType.
-
getDeviceTypeBytes
public org.nd4j.shade.protobuf.ByteString getDeviceTypeBytes()
Type of device this kernel runs on.
string device_type = 2;- Specified by:
getDeviceTypeBytesin interfaceKernelDefOrBuilder- Returns:
- The bytes for deviceType.
-
setDeviceType
public KernelDef.Builder setDeviceType(String value)
Type of device this kernel runs on.
string device_type = 2;- Parameters:
value- The deviceType to set.- Returns:
- This builder for chaining.
-
clearDeviceType
public KernelDef.Builder clearDeviceType()
Type of device this kernel runs on.
string device_type = 2;- Returns:
- This builder for chaining.
-
setDeviceTypeBytes
public KernelDef.Builder setDeviceTypeBytes(org.nd4j.shade.protobuf.ByteString value)
Type of device this kernel runs on.
string device_type = 2;- Parameters:
value- The bytes for deviceType to set.- Returns:
- This builder for chaining.
-
getConstraintList
public List<KernelDef.AttrConstraint> getConstraintList()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;- Specified by:
getConstraintListin interfaceKernelDefOrBuilder
-
getConstraintCount
public int getConstraintCount()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;- Specified by:
getConstraintCountin interfaceKernelDefOrBuilder
-
getConstraint
public KernelDef.AttrConstraint getConstraint(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;- Specified by:
getConstraintin interfaceKernelDefOrBuilder
-
setConstraint
public KernelDef.Builder setConstraint(int index, KernelDef.AttrConstraint value)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
-
setConstraint
public KernelDef.Builder setConstraint(int index, KernelDef.AttrConstraint.Builder builderForValue)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
-
addConstraint
public KernelDef.Builder addConstraint(KernelDef.AttrConstraint value)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
-
addConstraint
public KernelDef.Builder addConstraint(int index, KernelDef.AttrConstraint value)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
-
addConstraint
public KernelDef.Builder addConstraint(KernelDef.AttrConstraint.Builder builderForValue)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
-
addConstraint
public KernelDef.Builder addConstraint(int index, KernelDef.AttrConstraint.Builder builderForValue)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
-
addAllConstraint
public KernelDef.Builder addAllConstraint(Iterable<? extends KernelDef.AttrConstraint> values)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
-
clearConstraint
public KernelDef.Builder clearConstraint()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
-
removeConstraint
public KernelDef.Builder removeConstraint(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
-
getConstraintBuilder
public KernelDef.AttrConstraint.Builder getConstraintBuilder(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
-
getConstraintOrBuilder
public KernelDef.AttrConstraintOrBuilder getConstraintOrBuilder(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;- Specified by:
getConstraintOrBuilderin interfaceKernelDefOrBuilder
-
getConstraintOrBuilderList
public List<? extends KernelDef.AttrConstraintOrBuilder> getConstraintOrBuilderList()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;- Specified by:
getConstraintOrBuilderListin interfaceKernelDefOrBuilder
-
addConstraintBuilder
public KernelDef.AttrConstraint.Builder addConstraintBuilder()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
-
addConstraintBuilder
public KernelDef.AttrConstraint.Builder addConstraintBuilder(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
-
getConstraintBuilderList
public List<KernelDef.AttrConstraint.Builder> getConstraintBuilderList()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
-
getHostMemoryArgList
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;- Specified by:
getHostMemoryArgListin interfaceKernelDefOrBuilder- Returns:
- A list containing the hostMemoryArg.
-
getHostMemoryArgCount
public 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;- Specified by:
getHostMemoryArgCountin interfaceKernelDefOrBuilder- Returns:
- The count of hostMemoryArg.
-
getHostMemoryArg
public 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;- Specified by:
getHostMemoryArgin interfaceKernelDefOrBuilder- Parameters:
index- The index of the element to return.- Returns:
- The hostMemoryArg at the given index.
-
getHostMemoryArgBytes
public 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;- Specified by:
getHostMemoryArgBytesin interfaceKernelDefOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the hostMemoryArg at the given index.
-
setHostMemoryArg
public 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;- Parameters:
index- The index to set the value at.value- The hostMemoryArg to set.- Returns:
- This builder for chaining.
-
addHostMemoryArg
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;- Parameters:
value- The hostMemoryArg to add.- Returns:
- This builder for chaining.
-
addAllHostMemoryArg
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;- Parameters:
values- The hostMemoryArg to add.- Returns:
- This builder for chaining.
-
clearHostMemoryArg
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;- Returns:
- This builder for chaining.
-
addHostMemoryArgBytes
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;- Parameters:
value- The bytes of the hostMemoryArg to add.- Returns:
- This builder for chaining.
-
getLabel
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;- Specified by:
getLabelin interfaceKernelDefOrBuilder- Returns:
- The label.
-
getLabelBytes
public 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;- Specified by:
getLabelBytesin interfaceKernelDefOrBuilder- Returns:
- The bytes for label.
-
setLabel
public 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;- Parameters:
value- The label to set.- Returns:
- This builder for chaining.
-
clearLabel
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;- Returns:
- This builder for chaining.
-
setLabelBytes
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;- Parameters:
value- The bytes for label to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final KernelDef.Builder setUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<KernelDef.Builder>
-
mergeUnknownFields
public final KernelDef.Builder mergeUnknownFields(org.nd4j.shade.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfaceorg.nd4j.shade.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classorg.nd4j.shade.protobuf.GeneratedMessageV3.Builder<KernelDef.Builder>
-
-