public static final class KernelDef.Builder extends com.github.os72.protobuf351.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(com.github.os72.protobuf351.ByteString value)
Names of the Op's input_/output_args that reside in host memory
instead of device memory.
|
KernelDef.Builder |
addRepeatedField(com.github.os72.protobuf351.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(com.github.os72.protobuf351.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(com.github.os72.protobuf351.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 com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptorForType() |
String |
getDeviceType()
Type of device this kernel runs on.
|
com.github.os72.protobuf351.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.
|
com.github.os72.protobuf351.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.
|
com.github.os72.protobuf351.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.
|
com.github.os72.protobuf351.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.
|
com.github.os72.protobuf351.ByteString |
getOpBytes()
Must match the name of an Op.
|
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
KernelDef.Builder |
mergeFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
KernelDef.Builder |
mergeFrom(KernelDef other) |
KernelDef.Builder |
mergeFrom(com.github.os72.protobuf351.Message other) |
KernelDef.Builder |
mergeUnknownFields(com.github.os72.protobuf351.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(com.github.os72.protobuf351.ByteString value)
Type of device this kernel runs on.
|
KernelDef.Builder |
setField(com.github.os72.protobuf351.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(com.github.os72.protobuf351.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(com.github.os72.protobuf351.ByteString value)
Must match the name of an Op.
|
KernelDef.Builder |
setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field,
int index,
Object value) |
KernelDef.Builder |
setUnknownFields(com.github.os72.protobuf351.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 com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<KernelDef.Builder>public KernelDef.Builder clear()
clear in interface com.github.os72.protobuf351.Message.Builderclear in interface com.github.os72.protobuf351.MessageLite.Builderclear in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<KernelDef.Builder>public com.github.os72.protobuf351.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.github.os72.protobuf351.Message.BuildergetDescriptorForType in interface com.github.os72.protobuf351.MessageOrBuildergetDescriptorForType in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<KernelDef.Builder>public KernelDef getDefaultInstanceForType()
getDefaultInstanceForType in interface com.github.os72.protobuf351.MessageLiteOrBuildergetDefaultInstanceForType in interface com.github.os72.protobuf351.MessageOrBuilderpublic KernelDef build()
build in interface com.github.os72.protobuf351.Message.Builderbuild in interface com.github.os72.protobuf351.MessageLite.Builderpublic KernelDef buildPartial()
buildPartial in interface com.github.os72.protobuf351.Message.BuilderbuildPartial in interface com.github.os72.protobuf351.MessageLite.Builderpublic KernelDef.Builder clone()
clone in interface com.github.os72.protobuf351.Message.Builderclone in interface com.github.os72.protobuf351.MessageLite.Builderclone in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<KernelDef.Builder>public KernelDef.Builder setField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
setField in interface com.github.os72.protobuf351.Message.BuildersetField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<KernelDef.Builder>public KernelDef.Builder clearField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field)
clearField in interface com.github.os72.protobuf351.Message.BuilderclearField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<KernelDef.Builder>public KernelDef.Builder clearOneof(com.github.os72.protobuf351.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.github.os72.protobuf351.Message.BuilderclearOneof in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<KernelDef.Builder>public KernelDef.Builder setRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.github.os72.protobuf351.Message.BuildersetRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<KernelDef.Builder>public KernelDef.Builder addRepeatedField(com.github.os72.protobuf351.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.github.os72.protobuf351.Message.BuilderaddRepeatedField in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<KernelDef.Builder>public KernelDef.Builder mergeFrom(com.github.os72.protobuf351.Message other)
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<KernelDef.Builder>public KernelDef.Builder mergeFrom(KernelDef other)
public final boolean isInitialized()
isInitialized in interface com.github.os72.protobuf351.MessageLiteOrBuilderisInitialized in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<KernelDef.Builder>public KernelDef.Builder mergeFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.github.os72.protobuf351.Message.BuildermergeFrom in interface com.github.os72.protobuf351.MessageLite.BuildermergeFrom in class com.github.os72.protobuf351.AbstractMessage.Builder<KernelDef.Builder>IOExceptionpublic String getOp()
Must match the name of an Op.
string op = 1;getOp in interface KernelDefOrBuilderpublic com.github.os72.protobuf351.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(com.github.os72.protobuf351.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 com.github.os72.protobuf351.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(com.github.os72.protobuf351.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 com.github.os72.protobuf351.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 com.github.os72.protobuf351.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(com.github.os72.protobuf351.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 com.github.os72.protobuf351.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(com.github.os72.protobuf351.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(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
setUnknownFields in interface com.github.os72.protobuf351.Message.BuildersetUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<KernelDef.Builder>public final KernelDef.Builder mergeUnknownFields(com.github.os72.protobuf351.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.github.os72.protobuf351.Message.BuildermergeUnknownFields in class com.github.os72.protobuf351.GeneratedMessageV3.Builder<KernelDef.Builder>Copyright © 2018. All rights reserved.