الواجهة العامة KernelDefOrBuilder
الفئات الفرعية غير المباشرة المعروفة |
الأساليب العامة
مجردة KernelDef.AttrConstraint | getConstraint (فهرس كثافة العمليات) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
كثافة العمليات مجردة | الحصول على كونسترينتكونت () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
قائمة مجردة < KernelDef.AttrConstraint > | قائمة القيد () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
مجردة KernelDef.AttrConstraintOrBuilder | getConstraintOrBuilder (فهرس كثافة العمليات) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
قائمة مجردة <؟ يمتد KernelDef.AttrConstraintOrBuilder > | getConstraintOrBuilderList () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
سلسلة مجردة | الحصول على نوع الجهاز () Type of device this kernel runs on. |
مجردة com.google.protobuf.ByteString | الحصول علىDeviceTypeBytes () Type of device this kernel runs on. |
سلسلة مجردة | getHostMemoryArg (فهرس كثافة العمليات) Names of the Op's input_/output_args that reside in host memory instead of device memory. |
مجردة com.google.protobuf.ByteString | getHostMemoryArgBytes (فهرس كثافة العمليات) Names of the Op's input_/output_args that reside in host memory instead of device memory. |
كثافة العمليات مجردة | getHostMemoryArgCount () Names of the Op's input_/output_args that reside in host memory instead of device memory. |
قائمة مجردة <سلسلة> | getHostMemoryArgList () Names of the Op's input_/output_args that reside in host memory instead of device memory. |
سلسلة مجردة | الحصول على التسمية () 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. |
سلسلة مجردة | جيتوب () Must match the name of an Op. |
مجردة com.google.protobuf.ByteString | الحصول علىOpBytes () Must match the name of an Op. |
كثافة العمليات مجردة | الحصول على الأولوية () Prioritization of kernel amongst different devices. |
الأساليب العامة
الملخص العام KernelDef.AttrConstraint getConstraint (مؤشر int)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
الملخص العام int getConstraintCount ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
قائمة مجردة عامة < KernelDef.AttrConstraint > getConstraintList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
الملخص العام KernelDef.AttrConstraintOrBuilder getConstraintOrBuilder (فهرس كثافة العمليات)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
قائمة الملخصات العامة<؟ يمتد KernelDef.AttrConstraintOrBuilder > getConstraintOrBuilderList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
سلسلة مجردة عامة getDeviceType ()
Type of device this kernel runs on.
string device_type = 2;
الملخص العام com.google.protobuf.ByteString getDeviceTypeBytes ()
Type of device this kernel runs on.
string device_type = 2;
سلسلة getHostMemoryArg العامة (مؤشر int)
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;
الملخص العام com.google.protobuf.ByteString getHostMemoryArgBytes (مؤشر int)
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;
الملخص العام 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;
قائمة مجردة عامة<String> getHostMemoryArgList ()
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;
سلسلة 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;
الملخص العام 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;
سلسلة مجردة عامة getOp ()
Must match the name of an Op.
string op = 1;
الملخص العام com.google.protobuf.ByteString getOpBytes ()
Must match the name of an Op.
string op = 1;
الملخص العام 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;