KernelDef kelas akhir publik
Tipe protobuf tensorflow.KernelDef
Kelas Bersarang
kelas | KernelDef.AttrConstraint | Tipe protobuf tensorflow.KernelDef.AttrConstraint | |
antarmuka | KernelDef.AttrConstraintOrBuilder | ||
kelas | KernelDef.Builder | Tipe protobuf tensorflow.KernelDef |
Konstanta
ke dalam | CONSTRAINT_FIELD_NUMBER | |
ke dalam | DEVICE_TYPE_FIELD_NUMBER | |
ke dalam | HOST_MEMORY_ARG_FIELD_NUMBER | |
ke dalam | LABEL_FIELD_NUMBER | |
ke dalam | OP_FIELD_NUMBER | |
ke dalam | PRIORITY_FIELD_NUMBER |
Metode Publik
boolean | sama dengan (Objek objek) |
KernelDef.AttrConstraint | getConstraint (indeks int) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
ke dalam | dapatkanConstraintCount () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
Daftar< KernelDef.AttrConstraint > | dapatkanConstraintList () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.AttrConstraintOrBuilder | getConstraintOrBuilder (indeks int) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
Daftar<? memperluas KernelDef.AttrConstraintOrBuilder > | dapatkanConstraintOrBuilderList () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef statis | |
KernelDef | |
com.google.protobuf.Descriptors.Descriptor statis terakhir | |
Rangkaian | dapatkanDeviceType () Type of device this kernel runs on. |
com.google.protobuf.ByteString | dapatkanDeviceTypeBytes () Type of device this kernel runs on. |
Rangkaian | getHostMemoryArg (indeks int) Names of the Op's input_/output_args that reside in host memory instead of device memory. |
com.google.protobuf.ByteString | getHostMemoryArgBytes (indeks int) Names of the Op's input_/output_args that reside in host memory instead of device memory. |
ke dalam | dapatkanHostMemoryArgCount () Names of the Op's input_/output_args that reside in host memory instead of device memory. |
com.google.protobuf.ProtocolStringList | dapatkanHostMemoryArgList () Names of the Op's input_/output_args that reside in host memory instead of device memory. |
Rangkaian | dapatkanLabel () 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 | dapatkanLabelBytes () 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. |
Rangkaian | dapatkanOp () Must match the name of an Op. |
com.google.protobuf.ByteString | dapatkanOpBytes () Must match the name of an Op. |
ke dalam | dapatkan Prioritas () Prioritization of kernel amongst different devices. |
ke dalam | |
final com.google.protobuf.UnknownFieldSet | |
ke dalam | Kode hash () |
boolean terakhir | |
KernelDef.Builder statis | |
KernelDef.Builder statis | newBuilder (prototipe KernelDef ) |
KernelDef.Builder | |
KernelDef statis | parseDelimitedFrom (masukan Aliran Masukan) |
KernelDef statis | parseDelimitedFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef statis | parseFrom (data ByteBuffer) |
KernelDef statis | parseFrom (com.google.protobuf.CodedInputStream masukan, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef statis | parseFrom (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef statis | parseFrom (com.google.protobuf.CodedInputStream masukan) |
KernelDef statis | parseFrom (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef statis | parseFrom (com.google.protobuf.ByteString data) |
KernelDef statis | parseFrom (masukan InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef statis | parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statis | pengurai () |
KernelDef.Builder | |
ruang kosong | writeTo (com.google.protobuf.CodedOutputStream keluaran) |
Metode Warisan
Konstanta
int akhir statis publik CONSTRAINT_FIELD_NUMBER
Nilai Konstan: 3
int akhir statis publik DEVICE_TYPE_FIELD_NUMBER
Nilai Konstan: 2
int final statis publik HOST_MEMORY_ARG_FIELD_NUMBER
Nilai Konstan: 4
int final statis publik LABEL_FIELD_NUMBER
Nilai Konstan: 5
int akhir statis publik OP_FIELD_NUMBER
Nilai Konstan: 1
int final statis publik PRIORITY_FIELD_NUMBER
Nilai Konstan: 6
Metode Publik
boolean publik sama (Obj objek)
publik KernelDef.AttrConstraint getConstraint (indeks int)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
int publik getConstraintCount ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
Daftar publik< KernelDef.AttrConstraint > getConstraintList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
publik KernelDef.AttrConstraintOrBuilder getConstraintOrBuilder (int indeks)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
Daftar Publik<? memperluas KernelDef.AttrConstraintOrBuilder > getConstraintOrBuilderList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
String publik getDeviceType ()
Type of device this kernel runs on.
string device_type = 2;
publik com.google.protobuf.ByteString getDeviceTypeBytes ()
Type of device this kernel runs on.
string device_type = 2;
String publik getHostMemoryArg (indeks int)
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;
publik com.google.protobuf.ByteString getHostMemoryArgBytes (int indeks)
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;
int publik getHostMemoryArgCount ()
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.ProtocolStringList getHostMemoryArgList () publik
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;
GetLabel String publik ()
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;
publik 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;
String publik getOp ()
Must match the name of an Op.
string op = 1;
com.google.protobuf.ByteString getOpBytes publik ()
Must match the name of an Op.
string op = 1;
publik dapatkanParserForType ()
publik int getPrioritas ()
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;
publik int getSerializedSize ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
kode hash int publik ()
boolean akhir publik diinisialisasi ()
parseDelimitedFrom KernelDef statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom KernelDef statis publik (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom KernelDef statis publik (data ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
parseFrom KernelDef statis publik (com.google.protobuf.CodedInputStream masukan)
Melempar
Pengecualian IO |
---|
parseFrom KernelDef statis publik (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
parseFrom KernelDef statis publik (com.google.protobuf.ByteString data)
Melempar
ProtokolBufferException Tidak Valid |
---|
parseFrom KernelDef statis publik (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
Pengecualian IO |
---|
parseFrom KernelDef statis publik (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Melempar
ProtokolBufferException Tidak Valid |
---|
statis publik pengurai ()
public void writeTo (com.google.protobuf.CodedOutputStream keluaran)
Melempar
Pengecualian IO |
---|