classe finale pubblica KernelDef
Tipo di protocollo tensorflow.KernelDef
Classi nidificate
classe | KernelDef.AttrConstraint | Tipo di protocollo tensorflow.KernelDef.AttrConstraint | |
interfaccia | KernelDef.AttrConstraintOrBuilder | ||
classe | KernelDef.Builder | Tipo di protocollo tensorflow.KernelDef |
Costanti
int | VINCOLO_CAMPO_NUMERO | |
int | DEVICE_TYPE_FIELD_NUMBER | |
int | HOST_MEMORY_ARG_FIELD_NUMBER | |
int | LABEL_FIELD_NUMBER | |
int | OP_FIELD_NUMBER | |
int | PRIORITY_FIELD_NUMBER |
Metodi pubblici
booleano | è uguale a (Oggetto oggetto) |
KernelDef.AttrConstraint | getConstraint (indice int) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
int | getConstraintCount () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
Elenco< KernelDef.AttrConstraint > | getConstraintList () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.AttrConstraintOrBuilder | getConstraintOrBuilder (indice int) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
Elenco<? estende KernelDef.AttrConstraintOrBuilder > | getConstraintOrBuilderList () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef statico | |
KernelDef | |
com.google.protobuf.Descriptors.Descriptor statico finale | |
Corda | getDeviceType () Type of device this kernel runs on. |
com.google.protobuf.ByteString | getDeviceTypeBytes () Type of device this kernel runs on. |
Corda | getHostMemoryArg (indice int) Names of the Op's input_/output_args that reside in host memory instead of device memory. |
com.google.protobuf.ByteString | getHostMemoryArgBytes (indice 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. |
Corda | getetichetta () 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. |
Corda | getOp () Must match the name of an Op. |
com.google.protobuf.ByteString | getOpBytes () Must match the name of an Op. |
int | getPriorità () Prioritization of kernel amongst different devices. |
int | |
finale com.google.protobuf.UnknownFieldSet | |
int | codicehash () |
booleano finale | |
KernelDef.Builder statico | |
KernelDef.Builder statico | newBuilder (prototipo KernelDef ) |
KernelDef.Builder | |
KernelDef statico | parseDelimitedFrom (input InputStream) |
KernelDef statico | parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef statico | parseFrom (dati ByteBuffer) |
KernelDef statico | parseFrom (input com.google.protobuf.CodedInputStream, estensione com.google.protobuf.ExtensionRegistryLiteRegistry) |
KernelDef statico | parseFrom (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef statico | parseFrom (ingresso com.google.protobuf.CodedInputStream) |
KernelDef statico | parseFrom (byte[] dati, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef statico | parseFrom (dati com.google.protobuf.ByteString) |
KernelDef statico | parseFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef statico | parseFrom (dati com.google.protobuf.ByteString, estensione Com.google.protobuf.ExtensionRegistryLiteRegistry) |
statico | analizzatore () |
KernelDef.Builder | toBuilder () |
vuoto | writeTo (output com.google.protobuf.CodedOutputStream) |
Metodi ereditati
Costanti
public static final int CONSTRAINT_FIELD_NUMBER
Valore costante: 3
public static final int DEVICE_TYPE_FIELD_NUMBER
Valore costante: 2
public static final int HOST_MEMORY_ARG_FIELD_NUMBER
Valore costante: 4
public static final int LABEL_FIELD_NUMBER
Valore costante: 5
public static final int OP_FIELD_NUMBER
Valore costante: 1
public static final int PRIORITY_FIELD_NUMBER
Valore costante: 6
Metodi pubblici
booleano pubblico è uguale a (Oggetto obj)
public KernelDef.AttrConstraint getConstraint (indice int)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public int getConstraintCount ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
elenco pubblico< KernelDef.AttrConstraint > getConstraintList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public KernelDef.AttrConstraintOrBuilder getConstraintOrBuilder (indice int)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
Elenco pubblico<? estende KernelDef.AttrConstraintOrBuilder > getConstraintOrBuilderList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
stringa pubblica getDeviceType ()
Type of device this kernel runs on.
string device_type = 2;
pubblico com.google.protobuf.ByteString getDeviceTypeBytes ()
Type of device this kernel runs on.
string device_type = 2;
public String getHostMemoryArg (indice int)
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;
pubblico com.google.protobuf.ByteString getHostMemoryArgBytes (indice int)
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;
stringa pubblica 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;
pubblico 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;
stringa pubblica getOp ()
Must match the name of an Op.
string op = 1;
pubblico com.google.protobuf.ByteString getOpBytes ()
Must match the name of an Op.
string op = 1;
pubblico getParserForType ()
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 int getSerializedSize ()
pubblico finale com.google.protobuf.UnknownFieldSet getUnknownFields ()
public int hashCode ()
public final booleano isInitialized ()
KernelDef pubblico statico parseDelimitedFrom (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
parseFrom KernelDef statico pubblico (input com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
parseFrom KernelDef statico pubblico (dati ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
parseFrom KernelDef statico pubblico (input com.google.protobuf.CodedInputStream)
Lancia
IOException |
---|
parseFrom KernelDef statico pubblico (byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
InvalidProtocolBufferException |
---|
parseFrom KernelDef statico pubblico (dati com.google.protobuf.ByteString)
Lancia
InvalidProtocolBufferException |
---|
parseFrom KernelDef statico pubblico (input InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lancia
IOException |
---|
parseFrom KernelDef statico pubblico (dati com.google.protobuf.ByteString, estensione com.google.protobuf.ExtensionRegistryLiteRegistry)
Lancia
InvalidProtocolBufferException |
---|
pubblico statico analizzatore ()
public void writeTo (output com.google.protobuf.CodedOutputStream)
Lancia
IOException |
---|