Package org.nd4j.ir
Enum OpNamespace.ArgDescriptor.ArgType
- java.lang.Object
-
- java.lang.Enum<OpNamespace.ArgDescriptor.ArgType>
-
- org.nd4j.ir.OpNamespace.ArgDescriptor.ArgType
-
- All Implemented Interfaces:
Serializable,Comparable<OpNamespace.ArgDescriptor.ArgType>,org.nd4j.shade.protobuf.Internal.EnumLite,org.nd4j.shade.protobuf.ProtocolMessageEnum
- Enclosing class:
- OpNamespace.ArgDescriptor
public static enum OpNamespace.ArgDescriptor.ArgType extends Enum<OpNamespace.ArgDescriptor.ArgType> implements org.nd4j.shade.protobuf.ProtocolMessageEnum
Protobuf enumorg.nd4j.ir.ArgDescriptor.ArgType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BOOLBOOL = 4;DATA_TYPEDATA_TYPE = 5;DOUBLEDOUBLE = 1;FLOATFLOAT = 0;INPUT_TENSORINPUT_TENSOR = 6;INT32INT32 = 2;INT64INT64 = 3;OUTPUT_TENSOROUTPUT_TENSOR = 7;STRINGSTRING = 8;UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intBOOL_VALUEBOOL = 4;static intDATA_TYPE_VALUEDATA_TYPE = 5;static intDOUBLE_VALUEDOUBLE = 1;static intFLOAT_VALUEFLOAT = 0;static intINPUT_TENSOR_VALUEINPUT_TENSOR = 6;static intINT32_VALUEINT32 = 2;static intINT64_VALUEINT64 = 3;static intOUTPUT_TENSOR_VALUEOUTPUT_TENSOR = 7;static intSTRING_VALUESTRING = 8;
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static OpNamespace.ArgDescriptor.ArgTypeforNumber(int value)static org.nd4j.shade.protobuf.Descriptors.EnumDescriptorgetDescriptor()org.nd4j.shade.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static org.nd4j.shade.protobuf.Internal.EnumLiteMap<OpNamespace.ArgDescriptor.ArgType>internalGetValueMap()static OpNamespace.ArgDescriptor.ArgTypevalueOf(int value)Deprecated.static OpNamespace.ArgDescriptor.ArgTypevalueOf(String name)Returns the enum constant of this type with the specified name.static OpNamespace.ArgDescriptor.ArgTypevalueOf(org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor desc)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.
-
-
-
Enum Constant Detail
-
FLOAT
public static final OpNamespace.ArgDescriptor.ArgType FLOAT
FLOAT = 0;
-
DOUBLE
public static final OpNamespace.ArgDescriptor.ArgType DOUBLE
DOUBLE = 1;
-
INT32
public static final OpNamespace.ArgDescriptor.ArgType INT32
INT32 = 2;
-
INT64
public static final OpNamespace.ArgDescriptor.ArgType INT64
INT64 = 3;
-
BOOL
public static final OpNamespace.ArgDescriptor.ArgType BOOL
BOOL = 4;
-
DATA_TYPE
public static final OpNamespace.ArgDescriptor.ArgType DATA_TYPE
DATA_TYPE = 5;
-
INPUT_TENSOR
public static final OpNamespace.ArgDescriptor.ArgType INPUT_TENSOR
INPUT_TENSOR = 6;
-
OUTPUT_TENSOR
public static final OpNamespace.ArgDescriptor.ArgType OUTPUT_TENSOR
OUTPUT_TENSOR = 7;
-
STRING
public static final OpNamespace.ArgDescriptor.ArgType STRING
STRING = 8;
-
UNRECOGNIZED
public static final OpNamespace.ArgDescriptor.ArgType UNRECOGNIZED
-
-
Field Detail
-
FLOAT_VALUE
public static final int FLOAT_VALUE
FLOAT = 0;- See Also:
- Constant Field Values
-
DOUBLE_VALUE
public static final int DOUBLE_VALUE
DOUBLE = 1;- See Also:
- Constant Field Values
-
INT32_VALUE
public static final int INT32_VALUE
INT32 = 2;- See Also:
- Constant Field Values
-
INT64_VALUE
public static final int INT64_VALUE
INT64 = 3;- See Also:
- Constant Field Values
-
BOOL_VALUE
public static final int BOOL_VALUE
BOOL = 4;- See Also:
- Constant Field Values
-
DATA_TYPE_VALUE
public static final int DATA_TYPE_VALUE
DATA_TYPE = 5;- See Also:
- Constant Field Values
-
INPUT_TENSOR_VALUE
public static final int INPUT_TENSOR_VALUE
INPUT_TENSOR = 6;- See Also:
- Constant Field Values
-
OUTPUT_TENSOR_VALUE
public static final int OUTPUT_TENSOR_VALUE
OUTPUT_TENSOR = 7;- See Also:
- Constant Field Values
-
STRING_VALUE
public static final int STRING_VALUE
STRING = 8;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static OpNamespace.ArgDescriptor.ArgType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (OpNamespace.ArgDescriptor.ArgType c : OpNamespace.ArgDescriptor.ArgType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpNamespace.ArgDescriptor.ArgType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfaceorg.nd4j.shade.protobuf.Internal.EnumLite- Specified by:
getNumberin interfaceorg.nd4j.shade.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static OpNamespace.ArgDescriptor.ArgType valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
public static OpNamespace.ArgDescriptor.ArgType forNumber(int value)
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static org.nd4j.shade.protobuf.Internal.EnumLiteMap<OpNamespace.ArgDescriptor.ArgType> internalGetValueMap()
-
getValueDescriptor
public final org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfaceorg.nd4j.shade.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfaceorg.nd4j.shade.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final org.nd4j.shade.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static OpNamespace.ArgDescriptor.ArgType valueOf(org.nd4j.shade.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-