public final class KernelDef extends org.nd4j.shade.protobuf.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 |
org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends org.nd4j.shade.protobuf.GeneratedMessageV3.ExtendableMessage>, org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable, org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter
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 org.nd4j.shade.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getDeviceType()
Type of device this kernel runs on.
|
org.nd4j.shade.protobuf.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.
|
org.nd4j.shade.protobuf.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.
|
org.nd4j.shade.protobuf.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.
|
org.nd4j.shade.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 |
getOp()
Must match the name of an Op.
|
org.nd4j.shade.protobuf.ByteString |
getOpBytes()
Must match the name of an Op.
|
org.nd4j.shade.protobuf.Parser<KernelDef> |
getParserForType() |
int |
getSerializedSize() |
org.nd4j.shade.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static KernelDef.Builder |
newBuilder() |
static KernelDef.Builder |
newBuilder(KernelDef prototype) |
KernelDef.Builder |
newBuilderForType() |
protected KernelDef.Builder |
newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent) |
static KernelDef |
parseDelimitedFrom(InputStream input) |
static KernelDef |
parseDelimitedFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static KernelDef |
parseFrom(byte[] data) |
static KernelDef |
parseFrom(byte[] data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static KernelDef |
parseFrom(ByteBuffer data) |
static KernelDef |
parseFrom(ByteBuffer data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static KernelDef |
parseFrom(org.nd4j.shade.protobuf.ByteString data) |
static KernelDef |
parseFrom(org.nd4j.shade.protobuf.ByteString data,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static KernelDef |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) |
static KernelDef |
parseFrom(org.nd4j.shade.protobuf.CodedInputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static KernelDef |
parseFrom(InputStream input) |
static KernelDef |
parseFrom(InputStream input,
org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) |
static org.nd4j.shade.protobuf.Parser<KernelDef> |
parser() |
KernelDef.Builder |
toBuilder() |
void |
writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, 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, getSerializedSizeInternal, isInitializedInternal, makeImmutableInternal, mergeFromInternal, toByteArray, toByteString, writeDelimitedTo, writeTo, writeToInternal
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 org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields
in interface org.nd4j.shade.protobuf.MessageOrBuilder
getUnknownFields
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public String getOp()
Must match the name of an Op.
string op = 1;
getOp
in interface KernelDefOrBuilder
public org.nd4j.shade.protobuf.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 org.nd4j.shade.protobuf.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 org.nd4j.shade.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;
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 org.nd4j.shade.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;
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 org.nd4j.shade.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;
getLabelBytes
in interface KernelDefOrBuilder
public final boolean isInitialized()
isInitialized
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
isInitialized
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output) throws IOException
writeTo
in interface org.nd4j.shade.protobuf.MessageLite
writeTo
in class org.nd4j.shade.protobuf.GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface org.nd4j.shade.protobuf.MessageLite
getSerializedSize
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface org.nd4j.shade.protobuf.Message
equals
in class org.nd4j.shade.protobuf.AbstractMessage
public int hashCode()
hashCode
in interface org.nd4j.shade.protobuf.Message
hashCode
in class org.nd4j.shade.protobuf.AbstractMessage
public static KernelDef parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static KernelDef parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static KernelDef parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static KernelDef parseFrom(org.nd4j.shade.protobuf.ByteString data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static KernelDef parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static KernelDef parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferException
public static KernelDef parseFrom(InputStream input) throws IOException
IOException
public static KernelDef parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KernelDef parseDelimitedFrom(InputStream input) throws IOException
IOException
public static KernelDef parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static KernelDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOException
public static KernelDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public KernelDef.Builder newBuilderForType()
newBuilderForType
in interface org.nd4j.shade.protobuf.Message
newBuilderForType
in interface org.nd4j.shade.protobuf.MessageLite
public static KernelDef.Builder newBuilder()
public static KernelDef.Builder newBuilder(KernelDef prototype)
public KernelDef.Builder toBuilder()
toBuilder
in interface org.nd4j.shade.protobuf.Message
toBuilder
in interface org.nd4j.shade.protobuf.MessageLite
protected KernelDef.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public static KernelDef getDefaultInstance()
public static org.nd4j.shade.protobuf.Parser<KernelDef> parser()
public org.nd4j.shade.protobuf.Parser<KernelDef> getParserForType()
getParserForType
in interface org.nd4j.shade.protobuf.Message
getParserForType
in interface org.nd4j.shade.protobuf.MessageLite
getParserForType
in class org.nd4j.shade.protobuf.GeneratedMessageV3
public KernelDef getDefaultInstanceForType()
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface org.nd4j.shade.protobuf.MessageOrBuilder
Copyright © 2019. All rights reserved.