classe finale publique KernelDef
tensorflow.KernelDef
de type Protobuf.KernelDef
Classes imbriquées
classe | KernelDef.AttrConstraint | tensorflow.KernelDef.AttrConstraint de type Protobuf | |
interface | KernelDef.AttrConstraintOrBuilder | ||
classe | KernelDef.Builder | tensorflow.KernelDef de type Protobuf.KernelDef |
Constantes
int | CONSTRAINT_FIELD_NUMBER | |
int | DEVICE_TYPE_FIELD_NUMBER | |
int | HOST_MEMORY_ARG_FIELD_NUMBER | |
int | LABEL_FIELD_NUMBER | |
int | OP_FIELD_NUMBER | |
int | PRIORITY_FIELD_NUMBER |
Méthodes publiques
booléen | est égal à (Obj objet) |
KernelDef.AttrConstraint | getConstraint (index int) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
int | getConstraintCount () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
Liste< KernelDef.AttrConstraint > | getConstraintList () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.AttrConstraintOrBuilder | getConstraintOrBuilder (index int) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
Liste<? étend KernelDef.AttrConstraintOrBuilder > | getConstraintOrBuilderList () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef statique | |
KernelDef | |
final statique com.google.protobuf.Descriptors.Descriptor | |
Chaîne | getDeviceType () Type of device this kernel runs on. |
com.google.protobuf.ByteString | getDeviceTypeBytes () Type of device this kernel runs on. |
Chaîne | getHostMemoryArg (index int) Names of the Op's input_/output_args that reside in host memory instead of device memory. |
com.google.protobuf.ByteString | getHostMemoryArgBytes (index 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. |
Chaîne | 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. |
Chaîne | obtenirOp () 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 | |
final com.google.protobuf.UnknownFieldSet | |
int | |
booléen final | |
KernelDef.Builder statique | |
KernelDef.Builder statique | newBuilder (prototype KernelDef ) |
KernelDef.Builder | |
KernelDef statique | parseDelimitedFrom (entrée InputStream) |
KernelDef statique | parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef statique | parseFrom (données ByteBuffer) |
KernelDef statique | parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef statique | parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef statique | parseFrom (entrée com.google.protobuf.CodedInputStream) |
KernelDef statique | parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef statique | parseFrom (données com.google.protobuf.ByteString) |
KernelDef statique | parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef statique | parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
statique | analyseur () |
KernelDef.Builder | toBuilder () |
vide | writeTo (sortie com.google.protobuf.CodedOutputStream) |
Méthodes héritées
Constantes
public statique final int CONSTRAINT_FIELD_NUMBER
Valeur constante : 3
public statique final int DEVICE_TYPE_FIELD_NUMBER
Valeur constante : 2
public statique final int HOST_MEMORY_ARG_FIELD_NUMBER
Valeur constante : 4
public statique final int LABEL_FIELD_NUMBER
Valeur constante : 5
public statique final int OP_FIELD_NUMBER
Valeur constante : 1
public statique final int PRIORITY_FIELD_NUMBER
Valeur constante : 6
Méthodes publiques
public booléen égal (Objet obj)
public KernelDef.AttrConstraint getConstraint (index int)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public int getConstraintCount ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
liste publique < KernelDef.AttrConstraint > getConstraintList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public KernelDef.AttrConstraintOrBuilder getConstraintOrBuilder (index int)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
Liste publique <? étend KernelDef.AttrConstraintOrBuilder > getConstraintOrBuilderList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public statique final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
chaîne publique 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;
chaîne publique getHostMemoryArg (index 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 com.google.protobuf.ByteString getHostMemoryArgBytes (index 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;
chaîne publique 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;
chaîne publique 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;
publique 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 ()
public final com.google.protobuf.UnknownFieldSet getUnknownFields ()
code de hachage int public ()
public final booléen isInitialized ()
public statique KernelDef parseDelimitedFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique KernelDef parseFrom (entrée com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique KernelDef parseFrom (données ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique KernelDef parseFrom (données octet[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique KernelDef parseFrom (données com.google.protobuf.ByteString)
Jetés
InvalidProtocolBufferException |
---|
public statique KernelDef parseFrom (entrée InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
IOException |
---|
public statique KernelDef parseFrom (données com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Jetés
InvalidProtocolBufferException |
---|
public statique analyseur ()
public void writeTo (sortie com.google.protobuf.CodedOutputStream)
Jetés
IOException |
---|