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) |
protected Object |
newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
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, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic 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
protected Object newInstance(org.nd4j.shade.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class org.nd4j.shade.protobuf.GeneratedMessageV3public final org.nd4j.shade.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface org.nd4j.shade.protobuf.MessageOrBuildergetUnknownFields in class org.nd4j.shade.protobuf.GeneratedMessageV3public static final org.nd4j.shade.protobuf.Descriptors.Descriptor getDescriptor()
protected org.nd4j.shade.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class org.nd4j.shade.protobuf.GeneratedMessageV3public String getOp()
Must match the name of an Op.
string op = 1;getOp in interface KernelDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getOpBytes()
Must match the name of an Op.
string op = 1;getOpBytes in interface KernelDefOrBuilderpublic String getDeviceType()
Type of device this kernel runs on.
string device_type = 2;getDeviceType in interface KernelDefOrBuilderpublic org.nd4j.shade.protobuf.ByteString getDeviceTypeBytes()
Type of device this kernel runs on.
string device_type = 2;getDeviceTypeBytes in interface KernelDefOrBuilderpublic List<KernelDef.AttrConstraint> getConstraintList()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;getConstraintList in interface KernelDefOrBuilderpublic List<? extends KernelDef.AttrConstraintOrBuilder> getConstraintOrBuilderList()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;getConstraintOrBuilderList in interface KernelDefOrBuilderpublic int getConstraintCount()
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;getConstraintCount in interface KernelDefOrBuilderpublic KernelDef.AttrConstraint getConstraint(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;getConstraint in interface KernelDefOrBuilderpublic KernelDef.AttrConstraintOrBuilder getConstraintOrBuilder(int index)
repeated .tensorflow.KernelDef.AttrConstraint constraint = 3;getConstraintOrBuilder in interface KernelDefOrBuilderpublic 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 KernelDefOrBuilderpublic 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 KernelDefOrBuilderpublic 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 KernelDefOrBuilderpublic 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 KernelDefOrBuilderpublic 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 KernelDefOrBuilderpublic 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 KernelDefOrBuilderpublic final boolean isInitialized()
isInitialized in interface org.nd4j.shade.protobuf.MessageLiteOrBuilderisInitialized in class org.nd4j.shade.protobuf.GeneratedMessageV3public void writeTo(org.nd4j.shade.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface org.nd4j.shade.protobuf.MessageLitewriteTo in class org.nd4j.shade.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface org.nd4j.shade.protobuf.MessageLitegetSerializedSize in class org.nd4j.shade.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface org.nd4j.shade.protobuf.Messageequals in class org.nd4j.shade.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface org.nd4j.shade.protobuf.MessagehashCode in class org.nd4j.shade.protobuf.AbstractMessagepublic static KernelDef parseFrom(ByteBuffer data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static KernelDef parseFrom(ByteBuffer data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static KernelDef parseFrom(org.nd4j.shade.protobuf.ByteString data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic 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.InvalidProtocolBufferExceptionpublic static KernelDef parseFrom(byte[] data) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static KernelDef parseFrom(byte[] data, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws org.nd4j.shade.protobuf.InvalidProtocolBufferException
org.nd4j.shade.protobuf.InvalidProtocolBufferExceptionpublic static KernelDef parseFrom(InputStream input) throws IOException
IOExceptionpublic static KernelDef parseFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KernelDef parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static KernelDef parseDelimitedFrom(InputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static KernelDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static KernelDef parseFrom(org.nd4j.shade.protobuf.CodedInputStream input, org.nd4j.shade.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic KernelDef.Builder newBuilderForType()
newBuilderForType in interface org.nd4j.shade.protobuf.MessagenewBuilderForType in interface org.nd4j.shade.protobuf.MessageLitepublic static KernelDef.Builder newBuilder()
public static KernelDef.Builder newBuilder(KernelDef prototype)
public KernelDef.Builder toBuilder()
toBuilder in interface org.nd4j.shade.protobuf.MessagetoBuilder in interface org.nd4j.shade.protobuf.MessageLiteprotected KernelDef.Builder newBuilderForType(org.nd4j.shade.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public 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.MessagegetParserForType in interface org.nd4j.shade.protobuf.MessageLitegetParserForType in class org.nd4j.shade.protobuf.GeneratedMessageV3public KernelDef getDefaultInstanceForType()
getDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface org.nd4j.shade.protobuf.MessageOrBuilderCopyright © 2021. All rights reserved.