public final class KernelDef extends com.github.os72.protobuf351.GeneratedMessageV3 implements KernelDefOrBuilder
tensorflow.KernelDef
Modifier and Type | Class and Description |
---|---|
static class |
KernelDef.AttrConstraint
Protobuf type
tensorflow.KernelDef.AttrConstraint |
static interface |
KernelDef.AttrConstraintOrBuilder |
static class |
KernelDef.Builder
Protobuf type
tensorflow.KernelDef |
com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.github.os72.protobuf351.GeneratedMessageV3.ExtendableMessage>, com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable
Modifier and Type | Field and Description |
---|---|
static int |
CONSTRAINT_FIELD_NUMBER |
static int |
DEVICE_TYPE_FIELD_NUMBER |
static int |
HOST_MEMORY_ARG_FIELD_NUMBER |
static int |
LABEL_FIELD_NUMBER |
static int |
OP_FIELD_NUMBER |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
KernelDef.AttrConstraint |
getConstraint(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
int |
getConstraintCount()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
List<KernelDef.AttrConstraint> |
getConstraintList()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
KernelDef.AttrConstraintOrBuilder |
getConstraintOrBuilder(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
List<? extends KernelDef.AttrConstraintOrBuilder> |
getConstraintOrBuilderList()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3; |
static KernelDef |
getDefaultInstance() |
KernelDef |
getDefaultInstanceForType() |
static com.github.os72.protobuf351.Descriptors.Descriptor |
getDescriptor() |
String |
getDeviceType()
Type of device this kernel runs on.
|
com.github.os72.protobuf351.ByteString |
getDeviceTypeBytes()
Type of device this kernel runs on.
|
String |
getHostMemoryArg(int index)
Names of the Op's input_/output_args that reside in host memory
instead of device memory.
|
com.github.os72.protobuf351.ByteString |
getHostMemoryArgBytes(int index)
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.github.os72.protobuf351.ProtocolStringList |
getHostMemoryArgList()
Names of the Op's input_/output_args that reside in host memory
instead of device memory.
|
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.
|
com.github.os72.protobuf351.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 |
getOp()
Must match the name of an Op.
|
com.github.os72.protobuf351.ByteString |
getOpBytes()
Must match the name of an Op.
|
com.github.os72.protobuf351.Parser<KernelDef> |
getParserForType() |
int |
getSerializedSize() |
com.github.os72.protobuf351.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KernelDef.Builder |
newBuilder() |
static KernelDef.Builder |
newBuilder(KernelDef prototype) |
KernelDef.Builder |
newBuilderForType() |
protected KernelDef.Builder |
newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent) |
static KernelDef |
parseDelimitedFrom(InputStream input) |
static KernelDef |
parseDelimitedFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static KernelDef |
parseFrom(byte[] data) |
static KernelDef |
parseFrom(byte[] data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static KernelDef |
parseFrom(ByteBuffer data) |
static KernelDef |
parseFrom(ByteBuffer data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static KernelDef |
parseFrom(com.github.os72.protobuf351.ByteString data) |
static KernelDef |
parseFrom(com.github.os72.protobuf351.ByteString data,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static KernelDef |
parseFrom(com.github.os72.protobuf351.CodedInputStream input) |
static KernelDef |
parseFrom(com.github.os72.protobuf351.CodedInputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static KernelDef |
parseFrom(InputStream input) |
static KernelDef |
parseFrom(InputStream input,
com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) |
static com.github.os72.protobuf351.Parser<KernelDef> |
parser() |
KernelDef.Builder |
toBuilder() |
void |
writeTo(com.github.os72.protobuf351.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
public static final int OP_FIELD_NUMBER
public static final int DEVICE_TYPE_FIELD_NUMBER
public static final int CONSTRAINT_FIELD_NUMBER
public static final int HOST_MEMORY_ARG_FIELD_NUMBER
public static final int LABEL_FIELD_NUMBER
public final com.github.os72.protobuf351.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface com.github.os72.protobuf351.MessageOrBuilder
getUnknownFields
in class com.github.os72.protobuf351.GeneratedMessageV3
public static final com.github.os72.protobuf351.Descriptors.Descriptor getDescriptor()
protected com.github.os72.protobuf351.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.github.os72.protobuf351.GeneratedMessageV3
public String getOp()
Must match the name of an Op.
string op = 1;
getOp
in interface KernelDefOrBuilder
public com.github.os72.protobuf351.ByteString getOpBytes()
Must match the name of an Op.
string op = 1;
getOpBytes
in interface KernelDefOrBuilder
public String getDeviceType()
Type of device this kernel runs on.
string device_type = 2;
getDeviceType
in interface KernelDefOrBuilder
public com.github.os72.protobuf351.ByteString getDeviceTypeBytes()
Type of device this kernel runs on.
string device_type = 2;
getDeviceTypeBytes
in interface KernelDefOrBuilder
public List<KernelDef.AttrConstraint> getConstraintList()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
getConstraintList
in interface KernelDefOrBuilder
public List<? extends KernelDef.AttrConstraintOrBuilder> getConstraintOrBuilderList()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
getConstraintOrBuilderList
in interface KernelDefOrBuilder
public int getConstraintCount()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
getConstraintCount
in interface KernelDefOrBuilder
public KernelDef.AttrConstraint getConstraint(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
getConstraint
in interface KernelDefOrBuilder
public KernelDef.AttrConstraintOrBuilder getConstraintOrBuilder(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;
getConstraintOrBuilder
in interface KernelDefOrBuilder
public com.github.os72.protobuf351.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;
getHostMemoryArgList
in interface KernelDefOrBuilder
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;
getHostMemoryArgCount
in interface KernelDefOrBuilder
public String getHostMemoryArg(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;
getHostMemoryArg
in interface KernelDefOrBuilder
public com.github.os72.protobuf351.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;
getHostMemoryArgBytes
in interface KernelDefOrBuilder
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;
getLabel
in interface KernelDefOrBuilder
public com.github.os72.protobuf351.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;
getLabelBytes
in interface KernelDefOrBuilder
public final boolean isInitialized()
isInitialized
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
isInitialized
in class com.github.os72.protobuf351.GeneratedMessageV3
public void writeTo(com.github.os72.protobuf351.CodedOutputStream output) throws IOException
writeTo
in interface com.github.os72.protobuf351.MessageLite
writeTo
in class com.github.os72.protobuf351.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface com.github.os72.protobuf351.MessageLite
getSerializedSize
in class com.github.os72.protobuf351.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface com.github.os72.protobuf351.Message
equals
in class com.github.os72.protobuf351.AbstractMessage
public int hashCode()
hashCode
in interface com.github.os72.protobuf351.Message
hashCode
in class com.github.os72.protobuf351.AbstractMessage
public static KernelDef parseFrom(ByteBuffer data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static KernelDef parseFrom(ByteBuffer data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static KernelDef parseFrom(com.github.os72.protobuf351.ByteString data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static KernelDef parseFrom(com.github.os72.protobuf351.ByteString data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static KernelDef parseFrom(byte[] data) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static KernelDef parseFrom(byte[] data, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws com.github.os72.protobuf351.InvalidProtocolBufferException
com.github.os72.protobuf351.InvalidProtocolBufferException
public static KernelDef parseFrom(InputStream input) throws IOException
IOException
public static KernelDef parseFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KernelDef parseDelimitedFrom(InputStream input) throws IOException
IOException
public static KernelDef parseDelimitedFrom(InputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KernelDef parseFrom(com.github.os72.protobuf351.CodedInputStream input) throws IOException
IOException
public static KernelDef parseFrom(com.github.os72.protobuf351.CodedInputStream input, com.github.os72.protobuf351.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public KernelDef.Builder newBuilderForType()
newBuilderForType
in interface com.github.os72.protobuf351.Message
newBuilderForType
in interface com.github.os72.protobuf351.MessageLite
public static KernelDef.Builder newBuilder()
public static KernelDef.Builder newBuilder(KernelDef prototype)
public KernelDef.Builder toBuilder()
toBuilder
in interface com.github.os72.protobuf351.Message
toBuilder
in interface com.github.os72.protobuf351.MessageLite
protected KernelDef.Builder newBuilderForType(com.github.os72.protobuf351.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public static KernelDef getDefaultInstance()
public static com.github.os72.protobuf351.Parser<KernelDef> parser()
public com.github.os72.protobuf351.Parser<KernelDef> getParserForType()
getParserForType
in interface com.github.os72.protobuf351.Message
getParserForType
in interface com.github.os72.protobuf351.MessageLite
getParserForType
in class com.github.os72.protobuf351.GeneratedMessageV3
public KernelDef getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.github.os72.protobuf351.MessageOrBuilder
Copyright © 2018. All rights reserved.