KernelDef

classe final pública KernelDef

tensorflow.KernelDef tipo tensorflow.KernelDef

Classes aninhadas

aula KernelDef.AttrConstraint tensorflow.KernelDef.AttrConstraint type tensorflow.KernelDef.AttrConstraint
interface KernelDef.AttrConstraintOrBuilder
aula KernelDef.Builder tensorflow.KernelDef tipo tensorflow.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étodos Públicos

boleano
igual a (objeto obj)
KernelDef.AttrConstraint
getConstraint (índice int)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
int
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 static com.google.protobuf.Descriptors.Descriptor
Fragmento
getDeviceType ()
 Type of device this kernel runs on.
com.google.protobuf.ByteString
getDeviceTypeBytes ()
 Type of device this kernel runs on.
Fragmento
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 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.
Fragmento
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.
Fragmento
getOp ()
 Must match the name of an Op.
com.google.protobuf.ByteString
getOpBytes ()
 Must match the name of an Op.
int
getPriority ()
 Prioritization of kernel amongst different devices.
int
final com.google.protobuf.UnknownFieldSet
int
final booleano
static KernelDef.Builder
static KernelDef.Builder
newBuilder (protótipo KernelDef )
KernelDef.Builder
KernelDef estático
parseDelimitedFrom (InputStream input)
KernelDef estático
parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
KernelDef estático
parseFrom (dados ByteBuffer)
KernelDef estático
parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
KernelDef estático
parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
KernelDef estático
parseFrom (com.google.protobuf.CodedInputStream input)
KernelDef estático
parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
KernelDef estático
parseFrom (com.google.protobuf.ByteString data)
KernelDef estático
parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
KernelDef estático
parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
estático
KernelDef.Builder
vazio
writeTo (saída com.google.protobuf.CodedOutputStream)

Métodos herdados

Constantes

public static final int CONSTRAINT_FIELD_NUMBER

Valor Constante: 3

público estático 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

public static final int OP_FIELD_NUMBER

Valor Constante: 1

public static final int PRIORITY_FIELD_NUMBER

Valor constante: 6

Métodos Públicos

public boolean equals (Object obj)

public KernelDef.AttrConstraint getConstraint (int index)

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 interno )

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

Lista pública <? estende KernelDef.AttrConstraintOrBuilder > getConstraintOrBuilderList ()

repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;

public static KernelDef getDefaultInstance ()

public KernelDef getDefaultInstanceForType ()

public static 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 interno )

 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 (int index)

 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 ()

Rótulo da string label = 5;

 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 ()

Rótulo da string label = 5;

 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.Builder newBuilder ()

public static KernelDef.Builder newBuilder (protótipo KernelDef )

public KernelDef.Builder newBuilderForType ()

public static KernelDef parseDelimitedFrom (InputStream input)

Lança
IOException

public static KernelDef parseDelimitedFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static KernelDef parseFrom (dados ByteBuffer)

Lança
InvalidProtocolBufferException

public static KernelDef parseFrom (com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static KernelDef parseFrom (ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static KernelDef parseFrom (com.google.protobuf.CodedInputStream input)

Lança
IOException

public static KernelDef parseFrom (byte [] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

public static KernelDef parseFrom (com.google.protobuf.ByteString data)

Lança
InvalidProtocolBufferException

public static KernelDef parseFrom (InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
IOException

public static KernelDef parseFrom (com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

Lança
InvalidProtocolBufferException

estática pública analisador ()

public KernelDef.Builder toBuilder ()

public void writeTo (saída com.google.protobuf.CodedOutputStream)

Lança
IOException