clase final pública KernelDef
Protobuf tipo tensorflow.KernelDef
Clases anidadas
clase | KernelDef.AttrConstraint | Protobuf tipo tensorflow.KernelDef.AttrConstraint | |
interfaz | KernelDef.AttrConstraintOrBuilder | ||
clase | KernelDef.Builder | Protobuf tipo tensorflow.KernelDef |
Constantes
En t | CONSTRAINT_FIELD_NUMBER | |
En t | DEVICE_TYPE_FIELD_NUMBER | |
En t | HOST_MEMORY_ARG_FIELD_NUMBER | |
En t | LABEL_FIELD_NUMBER | |
En t | OP_FIELD_NUMBER | |
En t | PRIORITY_FIELD_NUMBER |
Métodos públicos
booleano | es igual a (Objeto obj) |
KernelDef.AttrConstraint | getConstraint (índice int) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
En t | getConstraintCount () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
Lista < KernelDef.AttrConstraint > | getConstraintList () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.AttrConstraintOrBuilder | getConstraintOrBuilder (índice int) repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
Lista <? extiende KernelDef.AttrConstraintOrBuilder > | getConstraintOrBuilderList () repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef estático | |
KernelDef | |
com.google.protobuf.Descriptors.Descriptor estático final | |
Cuerda | getDeviceType () Type of device this kernel runs on. |
com.google.protobuf.ByteString | getDeviceTypeBytes () Type of device this kernel runs on. |
Cuerda | getHostMemoryArg (índice int) Names of the Op's input_/output_args that reside in host memory instead of device memory. |
com.google.protobuf.ByteString | getHostMemoryArgBytes (índice int) Names of the Op's input_/output_args that reside in host memory instead of device memory. |
En t | 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. |
Cuerda | 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. |
Cuerda | getOp () Must match the name of an Op. |
com.google.protobuf.ByteString | getOpBytes () Must match the name of an Op. |
En t | getPriority () Prioritization of kernel amongst different devices. |
En t | |
final com.google.protobuf.UnknownFieldSet | |
En t | hashCode () |
booleano final | |
estático KernelDef.Builder | newBuilder () |
estático KernelDef.Builder | newBuilder (prototipo de KernelDef ) |
KernelDef.Builder | |
KernelDef estático | parseDelimitedFrom (entrada InputStream) |
KernelDef estático | parseDelimitedFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef estático | parseFrom (datos ByteBuffer) |
KernelDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef estático | parseFrom (datos ByteBuffer, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef estático | parseFrom (entrada com.google.protobuf.CodedInputStream) |
KernelDef estático | parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef estático | parseFrom (datos com.google.protobuf.ByteString) |
KernelDef estático | parseFrom (entrada InputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
KernelDef estático | parseFrom (datos com.google.protobuf.ByteString, com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
estático | analizador () |
KernelDef.Builder | toBuilder () |
vacío | writeTo (salida de com.google.protobuf.CodedOutputStream) |
Métodos heredados
Constantes
public static final int CONSTRAINT_FIELD_NUMBER
Valor constante: 3
public static final int DEVICE_TYPE_FIELD_NUMBER
Valor constante: 2
public static final int HOST_MEMORY_ARG_FIELD_NUMBER
Valor constante: 4
public static 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
public boolean es igual a (Object obj)
public KernelDef.AttrConstraint getConstraint (índice int)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public int getConstraintCount ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
Lista pública < KernelDef.AttrConstraint > getConstraintList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
public KernelDef.AttrConstraintOrBuilder getConstraintOrBuilder (índice int)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
Lista pública <? extiende KernelDef.AttrConstraintOrBuilder > getConstraintOrBuilderList ()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
público estático final com.google.protobuf.Descriptors.Descriptor getDescriptor ()
public String 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;
public String 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;
public 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;
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;
public String 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;
public String 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;
público 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 ()
public int hashCode ()
public final boolean isInitialized ()
public static KernelDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
público estático KernelDef parseFrom (entrada com.google.protobuf.CodedInputStream, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
Public static KernelDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático KernelDef parseFrom (entrada com.google.protobuf.CodedInputStream)
Lanza
IOException |
---|
público estático KernelDef parseFrom (byte [] datos, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
KernelDef parseFrom estático público (datos com.google.protobuf.ByteString)
Lanza
InvalidProtocolBufferException |
---|
public static KernelDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
IOException |
---|
Public static KernelDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
Lanza
InvalidProtocolBufferException |
---|
público estático analizador ()
public void writeTo (salida de com.google.protobuf.CodedOutputStream)
Lanza
IOException |
---|