Protobuf type tensorflow.KernelDef
Public Methods
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(KernelDef.AttrConstraint value)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
|
KernelDef.Builder |
addConstraint(int index, KernelDef.AttrConstraint value)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
|
KernelDef.Builder |
addConstraint(int index, KernelDef.AttrConstraint.Builder builderForValue)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
|
KernelDef.Builder |
addConstraint(KernelDef.AttrConstraint.Builder builderForValue)
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.google.protobuf.ByteString value)
Names of the Op's input_/output_args that reside in host memory instead of device memory. |
KernelDef.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
|
KernelDef |
build()
|
KernelDef | |
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.google.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(com.google.protobuf.Descriptors.OneofDescriptor oneof)
|
KernelDef.Builder |
clearOp()
Must match the name of an Op. |
KernelDef.Builder |
clearPriority()
Prioritization of kernel amongst different devices. |
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 | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
String |
getDeviceType()
Type of device this kernel runs on. |
com.google.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. |
com.google.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. |
com.google.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. |
com.google.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. |
com.google.protobuf.ByteString |
getOpBytes()
Must match the name of an Op. |
int |
getPriority()
Prioritization of kernel amongst different devices. |
final boolean | |
KernelDef.Builder |
mergeFrom(com.google.protobuf.Message other)
|
KernelDef.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
|
final KernelDef.Builder |
mergeUnknownFields(com.google.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(com.google.protobuf.ByteString value)
Type of device this kernel runs on. |
KernelDef.Builder |
setField(com.google.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(com.google.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(com.google.protobuf.ByteString value)
Must match the name of an Op. |
KernelDef.Builder |
setPriority(int value)
Prioritization of kernel amongst different devices. |
KernelDef.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
|
final KernelDef.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
|
Inherited Methods
Public Methods
public KernelDef.Builder addAllConstraint (Iterable<? extends KernelDef.AttrConstraint> values)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
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 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 (int index, KernelDef.AttrConstraint.Builder builderForValue)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public KernelDef.Builder addConstraint (KernelDef.AttrConstraint.Builder builderForValue)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public KernelDef.AttrConstraint.Builder addConstraintBuilder ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public KernelDef.AttrConstraint.Builder addConstraintBuilder (int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
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 addHostMemoryArgBytes (com.google.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 KernelDef.Builder addRepeatedField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
public KernelDef.Builder clearConstraint ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public KernelDef.Builder clearDeviceType ()
Type of device this kernel runs on.
string device_type = 2;
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 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 clearPriority ()
Prioritization of kernel amongst different devices. By default we assume priority is 0. The higher the priority the better. By default (i.e. if this is not set), we prefer GPU kernels over CPU.
int32 priority = 6;
public KernelDef.AttrConstraint getConstraint (int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public KernelDef.AttrConstraint.Builder getConstraintBuilder (int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public List<KernelDef.AttrConstraint.Builder> getConstraintBuilderList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public int getConstraintCount ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public List<KernelDef.AttrConstraint> getConstraintList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public KernelDef.AttrConstraintOrBuilder getConstraintOrBuilder (int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public List<? extends KernelDef.AttrConstraintOrBuilder> getConstraintOrBuilderList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType ()
public String getDeviceType ()
Type of device this kernel runs on.
string device_type = 2;
public com.google.protobuf.ByteString getDeviceTypeBytes ()
Type of device this kernel runs on.
string device_type = 2;
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;
public com.google.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;
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;
public com.google.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;
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;
public com.google.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;
public String getOp ()
Must match the name of an Op.
string op = 1;
public com.google.protobuf.ByteString getOpBytes ()
Must match the name of an Op.
string op = 1;
public int getPriority ()
Prioritization of kernel amongst different devices. By default we assume priority is 0. The higher the priority the better. By default (i.e. if this is not set), we prefer GPU kernels over CPU.
int32 priority = 6;
public final boolean isInitialized ()
public KernelDef.Builder mergeFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Throws
IOException |
---|
public final KernelDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public KernelDef.Builder removeConstraint (int index)
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 setConstraint (int index, KernelDef.AttrConstraint value)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public KernelDef.Builder setDeviceType (String value)
Type of device this kernel runs on.
string device_type = 2;
public KernelDef.Builder setDeviceTypeBytes (com.google.protobuf.ByteString value)
Type of device this kernel runs on.
string device_type = 2;
public KernelDef.Builder setField (com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
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;
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;
public KernelDef.Builder setLabelBytes (com.google.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 KernelDef.Builder setOpBytes (com.google.protobuf.ByteString value)
Must match the name of an Op.
string op = 1;
public KernelDef.Builder setPriority (int value)
Prioritization of kernel amongst different devices. By default we assume priority is 0. The higher the priority the better. By default (i.e. if this is not set), we prefer GPU kernels over CPU.
int32 priority = 6;