Enum OpStatus
- java.lang.Object
-
- java.lang.Enum<OpStatus>
-
- org.nd4j.linalg.api.ops.executioner.OpStatus
-
- All Implemented Interfaces:
Serializable
,Comparable<OpStatus>
public enum OpStatus extends Enum<OpStatus>
-
-
Enum Constant Summary
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OpStatus
byNumber(int val)
static OpStatus
valueOf(String name)
Returns the enum constant of this type with the specified name.static OpStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ND4J_STATUS_OK
public static final OpStatus ND4J_STATUS_OK
-
ND4J_STATUS_BAD_INPUT
public static final OpStatus ND4J_STATUS_BAD_INPUT
-
ND4J_STATUS_BAD_SHAPE
public static final OpStatus ND4J_STATUS_BAD_SHAPE
-
ND4J_STATUS_BAD_RANK
public static final OpStatus ND4J_STATUS_BAD_RANK
-
ND4J_STATUS_BAD_PARAMS
public static final OpStatus ND4J_STATUS_BAD_PARAMS
-
ND4J_STATUS_BAD_OUTPUT
public static final OpStatus ND4J_STATUS_BAD_OUTPUT
-
ND4J_STATUS_BAD_RNG
public static final OpStatus ND4J_STATUS_BAD_RNG
-
ND4J_STATUS_BAD_EPSILON
public static final OpStatus ND4J_STATUS_BAD_EPSILON
-
ND4J_STATUS_BAD_GRADIENTS
public static final OpStatus ND4J_STATUS_BAD_GRADIENTS
-
ND4J_STATUS_BAD_BIAS
public static final OpStatus ND4J_STATUS_BAD_BIAS
-
ND4J_STATUS_BAD_GRAPH
public static final OpStatus ND4J_STATUS_BAD_GRAPH
-
ND4J_STATUS_BAD_LENGTH
public static final OpStatus ND4J_STATUS_BAD_LENGTH
-
ND4J_STATUS_BAD_DIMENSIONS
public static final OpStatus ND4J_STATUS_BAD_DIMENSIONS
-
ND4J_STATUS_BAD_ORDER
public static final OpStatus ND4J_STATUS_BAD_ORDER
-
ND4J_STATUS_BAD_ARGUMENTS
public static final OpStatus ND4J_STATUS_BAD_ARGUMENTS
-
ND4J_STATUS_VALIDATION
public static final OpStatus ND4J_STATUS_VALIDATION
-
-
Method Detail
-
values
public static OpStatus[] 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 (OpStatus c : OpStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpStatus 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
-
byNumber
public static OpStatus byNumber(int val)
-
-