classe final pública KernelDef
Tipo de protobuf tensorflow.KernelDef
Classes aninhadas
aula | KernelDef.AttrConstraint | Tipo de protobuf tensorflow.KernelDef.AttrConstraint | |
interface | KernelDef.AttrConstraintOrBuilder | ||
aula | KernelDef.Builder | Tipo de protobuf tensorflow.KernelDef |
Constantes
interno | CONSTRAINT_FIELD_NUMBER | |
interno | DEVICE_TYPE_FIELD_NUMBER | |
interno | HOST_MEMORY_ARG_FIELD_NUMBER | |
interno | LABEL_FIELD_NUMBER | |
interno | OP_FIELD_NUMBER | |
interno | PRIORITY_FIELD_NUMBER |
Métodos Públicos
booleano | é igual (objeto obj) |
KernelDef.AttrConstraint | getConstraint (índice interno) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
interno | 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 estático | |
KernelDef | |
final estático com.google.protobuf.Descriptors.Descriptor | |
Corda | getDeviceType () Type of device this kernel runs on. |
com.google.protobuf.ByteString | getDeviceTypeBytes () Type of device this kernel runs on. |
Corda | getHostMemoryArg (índice interno) Names of the Op's input_/output_args that reside in host memory instead of device memory. |
com.google.protobuf.ByteString | getHostMemoryArgBytes (índice interno) Names of the Op's input_/output_args that reside in host memory instead of device memory. |
interno | 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 | 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. |
Corda | getOp () Must match the name of an Op. |
com.google.protobuf.ByteString | getOpBytes () Must match the name of an Op. |
interno | obterPrioridade () Prioritization of kernel amongst different devices. |
interno | |
final com.google.protobuf.UnknownFieldSet | |
interno | código hash () |
booleano final | |
KernelDef.Builder estático | |
KernelDef.Builder estático | newBuilder (protótipo KernelDef ) |
KernelDef.Builder | |
KernelDef estático | parseDelimitedFrom (entrada InputStream) |
KernelDef estático | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef estático | parseFrom (dados de ByteBuffer) |
KernelDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef estático | parseFrom (dados de ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
KernelDef estático | parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef estático | parseFrom (dados com.google.protobuf.ByteString) |
KernelDef estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef estático | parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analisador () |
KernelDef.Builder | |
vazio | writeTo (saída com.google.protobuf.CodedOutputStream) |
Métodos herdados
Constantes
público estático final int CONSTRAINT_FIELD_NUMBER
Valor Constante: 3
público estático final int DEVICE_TYPE_FIELD_NUMBER
Valor Constante: 2
público estático final int HOST_MEMORY_ARG_FIELD_NUMBER
Valor Constante: 4
público estático final int LABEL_FIELD_NUMBER
Valor Constante: 5
público estático final int OP_FIELD_NUMBER
Valor Constante: 1
público estático final int PRIORITY_FIELD_NUMBER
Valor Constante: 6
Métodos Públicos
booleano público é igual (Object obj)
public KernelDef.AttrConstraint getConstraint (índice int)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
público int getConstraintCount ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
Lista pública< KernelDef.AttrConstraint > getConstraintList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
público KernelDef.AttrConstraintOrBuilder getConstraintOrBuilder (índice int)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
Lista pública<? estende KernelDef.AttrConstraintOrBuilder > getConstraintOrBuilderList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
final estático público com.google.protobuf.Descriptors.Descriptor getDescriptor ()
String pública getDeviceType ()
Type of device this kernel runs on.
string device_type = 2;
público com.google.protobuf.ByteString getDeviceTypeBytes ()
Type of device this kernel runs on.
string device_type = 2;
String pública getHostMemoryArg (índice int)
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;
público com.google.protobuf.ByteString getHostMemoryArgBytes (índice int)
Names of the Op's input_/output_args that reside in host memory instead of device memory.
repeated string host_memory_arg = 4;
público 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;
público 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;
String pública 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;
público 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 pública getOp ()
Must match the name of an Op.
string op = 1;
público com.google.protobuf.ByteString getOpBytes ()
Must match the name of an Op.
string op = 1;
público getParserForType ()
público int getPrioridade ()
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;
público int getSerializedSize ()
final público com.google.protobuf.UnknownFieldSet getUnknownFields ()
hashCode int público ()
público final booleano isInitialized ()
public static KernelDef parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static KernelDef parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static KernelDef parseFrom (dados ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
public static KernelDef parseFrom (byte[] dados, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
KernelDef estático público parseFrom (dados com.google.protobuf.ByteString)
Lança
InvalidProtocolBufferException |
---|
public static KernelDef parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
IOException |
---|
public static KernelDef parseFrom (dados com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lança
InvalidProtocolBufferException |
---|
estática pública analisador ()
public void writeTo (saída com.google.protobuf.CodedOutputStream)
Lança
IOException |
---|