public enum OpStatus extends Enum<OpStatus>
Modifier and Type | Method and 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.
|
public static final OpStatus ND4J_STATUS_OK
public static final OpStatus ND4J_STATUS_BAD_INPUT
public static final OpStatus ND4J_STATUS_BAD_SHAPE
public static final OpStatus ND4J_STATUS_BAD_RANK
public static final OpStatus ND4J_STATUS_BAD_PARAMS
public static final OpStatus ND4J_STATUS_BAD_OUTPUT
public static final OpStatus ND4J_STATUS_BAD_RNG
public static final OpStatus ND4J_STATUS_BAD_EPSILON
public static final OpStatus ND4J_STATUS_BAD_GRADIENTS
public static final OpStatus ND4J_STATUS_BAD_BIAS
public static final OpStatus ND4J_STATUS_BAD_GRAPH
public static final OpStatus ND4J_STATUS_BAD_LENGTH
public static final OpStatus ND4J_STATUS_BAD_DIMENSIONS
public static final OpStatus ND4J_STATUS_BAD_ORDER
public static final OpStatus ND4J_STATUS_BAD_ARGUMENTS
public static final OpStatus ND4J_STATUS_VALIDATION
public static OpStatus[] values()
for (OpStatus c : OpStatus.values()) System.out.println(c);
public static OpStatus 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 static OpStatus byNumber(int val)
Copyright © 2019. All rights reserved.