public static enum OpNamespace.ArgDescriptor.ArgType extends Enum<OpNamespace.ArgDescriptor.ArgType> implements org.nd4j.shade.protobuf.ProtocolMessageEnum
org.nd4j.ir.ArgDescriptor.ArgType
Enum Constant and Description |
---|
BOOL
BOOL = 4; |
DATA_TYPE
DATA_TYPE = 5; |
DOUBLE
DOUBLE = 1; |
FLOAT
FLOAT = 0; |
INPUT_TENSOR
INPUT_TENSOR = 6; |
INT32
INT32 = 2; |
INT64
INT64 = 3; |
OUTPUT_TENSOR
OUTPUT_TENSOR = 7; |
STRING
STRING = 8; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
BOOL_VALUE
BOOL = 4; |
static int |
DATA_TYPE_VALUE
DATA_TYPE = 5; |
static int |
DOUBLE_VALUE
DOUBLE = 1; |
static int |
FLOAT_VALUE
FLOAT = 0; |
static int |
INPUT_TENSOR_VALUE
INPUT_TENSOR = 6; |
static int |
INT32_VALUE
INT32 = 2; |
static int |
INT64_VALUE
INT64 = 3; |
static int |
OUTPUT_TENSOR_VALUE
OUTPUT_TENSOR = 7; |
static int |
STRING_VALUE
STRING = 8; |
Modifier and Type | Method and Description |
---|---|
static OpNamespace.ArgDescriptor.ArgType |
forNumber(int value) |
static org.nd4j.shade.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
org.nd4j.shade.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static org.nd4j.shade.protobuf.Internal.EnumLiteMap<OpNamespace.ArgDescriptor.ArgType> |
internalGetValueMap() |
static OpNamespace.ArgDescriptor.ArgType |
valueOf(org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor desc) |
static OpNamespace.ArgDescriptor.ArgType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static OpNamespace.ArgDescriptor.ArgType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpNamespace.ArgDescriptor.ArgType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpNamespace.ArgDescriptor.ArgType FLOAT
FLOAT = 0;
public static final OpNamespace.ArgDescriptor.ArgType DOUBLE
DOUBLE = 1;
public static final OpNamespace.ArgDescriptor.ArgType INT32
INT32 = 2;
public static final OpNamespace.ArgDescriptor.ArgType INT64
INT64 = 3;
public static final OpNamespace.ArgDescriptor.ArgType BOOL
BOOL = 4;
public static final OpNamespace.ArgDescriptor.ArgType DATA_TYPE
DATA_TYPE = 5;
public static final OpNamespace.ArgDescriptor.ArgType INPUT_TENSOR
INPUT_TENSOR = 6;
public static final OpNamespace.ArgDescriptor.ArgType OUTPUT_TENSOR
OUTPUT_TENSOR = 7;
public static final OpNamespace.ArgDescriptor.ArgType STRING
STRING = 8;
public static final OpNamespace.ArgDescriptor.ArgType UNRECOGNIZED
public static final int FLOAT_VALUE
FLOAT = 0;
public static final int DOUBLE_VALUE
DOUBLE = 1;
public static final int INT32_VALUE
INT32 = 2;
public static final int INT64_VALUE
INT64 = 3;
public static final int BOOL_VALUE
BOOL = 4;
public static final int DATA_TYPE_VALUE
DATA_TYPE = 5;
public static final int INPUT_TENSOR_VALUE
INPUT_TENSOR = 6;
public static final int OUTPUT_TENSOR_VALUE
OUTPUT_TENSOR = 7;
public static final int STRING_VALUE
STRING = 8;
public static OpNamespace.ArgDescriptor.ArgType[] values()
for (OpNamespace.ArgDescriptor.ArgType c : OpNamespace.ArgDescriptor.ArgType.values()) System.out.println(c);
public static OpNamespace.ArgDescriptor.ArgType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface org.nd4j.shade.protobuf.Internal.EnumLite
getNumber
in interface org.nd4j.shade.protobuf.ProtocolMessageEnum
@Deprecated public static OpNamespace.ArgDescriptor.ArgType valueOf(int value)
forNumber(int)
instead.public static OpNamespace.ArgDescriptor.ArgType forNumber(int value)
public static org.nd4j.shade.protobuf.Internal.EnumLiteMap<OpNamespace.ArgDescriptor.ArgType> internalGetValueMap()
public final org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface org.nd4j.shade.protobuf.ProtocolMessageEnum
public final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface org.nd4j.shade.protobuf.ProtocolMessageEnum
public static final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static OpNamespace.ArgDescriptor.ArgType valueOf(org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2021. All rights reserved.