tensorflow.KernelDef
tipo tensorflow.KernelDef
Métodos Públicos
KernelDef.Builder | addAllConstraint (Iterable <? extends KernelDef.AttrConstraint > valores) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.Builder | addAllHostMemoryArg (valores Iterable <String>) Names of the Op's input_/output_args that reside in host memory instead of device memory. |
KernelDef.Builder | addConstraint (valor KernelDef.AttrConstraint ) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.Builder | addConstraint (índice interno , valor KernelDef.AttrConstraint ) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.Builder | addConstraint (índice interno , 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 (índice interno ) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.Builder | addHostMemoryArg (valor String) 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
KernelDef | build () |
KernelDef | buildPartial () |
KernelDef.Builder | limpar () |
KernelDef.Builder | clearConstraint () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.Builder | clearDeviceType () Type of device this kernel runs on. |
KernelDef.Builder | clearField (campo com.google.protobuf.Descriptors.FieldDescriptor) |
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 (índice int) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.AttrConstraint.Builder | getConstraintBuilder (índice interno ) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
Lista < KernelDef.AttrConstraint.Builder > | getConstraintBuilderList () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
int | getConstraintCount () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
Lista < KernelDef.AttrConstraint > | getConstraintList () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.AttrConstraintOrBuilder | getConstraintOrBuilder (índice interno ) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
Lista <? estende KernelDef.AttrConstraintOrBuilder > | getConstraintOrBuilderList () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef | |
final static com.google.protobuf.Descriptors.Descriptor | |
com.google.protobuf.Descriptors.Descriptor | |
Fragmento | getDeviceType () Type of device this kernel runs on. |
com.google.protobuf.ByteString | getDeviceTypeBytes () Type of device this kernel runs on. |
Fragmento | getHostMemoryArg (índice int) Names of the Op's input_/output_args that reside in host memory instead of device memory. |
com.google.protobuf.ByteString | getHostMemoryArgBytes (índice int) 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. |
Fragmento | 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. |
Fragmento | 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 booleano | |
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 | |
KernelDef.Builder | setConstraint (int index, KernelDef.AttrConstraint.Builder builderForValue) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.Builder | setConstraint (índice interno , valor KernelDef.AttrConstraint ) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.Builder | setDeviceType (valor String) 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 (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto) |
KernelDef.Builder | setHostMemoryArg (índice int, valor String) Names of the Op's input_/output_args that reside in host memory instead of device memory. |
KernelDef.Builder | setLabel (valor String) 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 (valor da string) 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 (valor int) Prioritization of kernel amongst different devices. |
KernelDef.Builder | setRepeatedField (campo com.google.protobuf.Descriptors.FieldDescriptor, índice int, valor do objeto) |
final KernelDef.Builder | setUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields) |
Métodos herdados
Métodos Públicos
public KernelDef.Builder addAllConstraint (Iterable <? extends KernelDef.AttrConstraint > valores)
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 (valor KernelDef.AttrConstraint )
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 (índice interno )
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 (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
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 ()
Rótulo da string label = 5;
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 (índice interno )
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;
Lista pública < KernelDef.AttrConstraint > getConstraintList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public KernelDef.AttrConstraintOrBuilder getConstraintOrBuilder (índice interno )
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
Lista pública <? estende 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 (índice interno )
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 ()
Rótulo da string label = 5;
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 ()
Rótulo da string label = 5;
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)
Lança
IOException |
---|
public final KernelDef.Builder mergeUnknownFields (com.google.protobuf.UnknownFieldSet unknownFields)
public KernelDef.Builder removeConstraint (índice interno )
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 (valor com.google.protobuf.ByteString)
Type of device this kernel runs on.
string device_type = 2;
public KernelDef.Builder setField (campo com.google.protobuf.Descriptors.FieldDescriptor, valor do objeto)
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)
Rótulo da string label = 5;
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)
Rótulo da string label = 5;
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 (valor int)
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;