Package org.nd4j.linalg.api.buffer
Enum DataTypeEx
- java.lang.Object
-
- java.lang.Enum<DataTypeEx>
-
- org.nd4j.linalg.api.buffer.DataTypeEx
-
- All Implemented Interfaces:
Serializable,Comparable<DataTypeEx>
public enum DataTypeEx extends Enum<DataTypeEx>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DataTypeExvalueOf(String name)Returns the enum constant of this type with the specified name.static DataTypeEx[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FLOAT8
public static final DataTypeEx FLOAT8
-
INT8
public static final DataTypeEx INT8
-
UINT8
public static final DataTypeEx UINT8
-
FLOAT16
public static final DataTypeEx FLOAT16
-
INT16
public static final DataTypeEx INT16
-
UINT16
public static final DataTypeEx UINT16
-
FLOAT
public static final DataTypeEx FLOAT
-
DOUBLE
public static final DataTypeEx DOUBLE
-
THRESHOLD
public static final DataTypeEx THRESHOLD
-
FTHRESHOLD
public static final DataTypeEx FTHRESHOLD
-
-
Method Detail
-
values
public static DataTypeEx[] 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 (DataTypeEx c : DataTypeEx.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DataTypeEx 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
-
-