Enum FailureTestingListener.CallType
- java.lang.Object
-
- java.lang.Enum<FailureTestingListener.CallType>
-
- org.deeplearning4j.optimize.listeners.FailureTestingListener.CallType
-
- All Implemented Interfaces:
Serializable
,Comparable<FailureTestingListener.CallType>
- Enclosing class:
- FailureTestingListener
public static enum FailureTestingListener.CallType extends Enum<FailureTestingListener.CallType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ANY
BACKWARD_PASS
EPOCH_END
EPOCH_START
FORWARD_PASS
GRADIENT_CALC
ITER_DONE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static FailureTestingListener.CallType
valueOf(String name)
Returns the enum constant of this type with the specified name.static FailureTestingListener.CallType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ANY
public static final FailureTestingListener.CallType ANY
-
EPOCH_START
public static final FailureTestingListener.CallType EPOCH_START
-
EPOCH_END
public static final FailureTestingListener.CallType EPOCH_END
-
FORWARD_PASS
public static final FailureTestingListener.CallType FORWARD_PASS
-
GRADIENT_CALC
public static final FailureTestingListener.CallType GRADIENT_CALC
-
BACKWARD_PASS
public static final FailureTestingListener.CallType BACKWARD_PASS
-
ITER_DONE
public static final FailureTestingListener.CallType ITER_DONE
-
-
Method Detail
-
values
public static FailureTestingListener.CallType[] 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 (FailureTestingListener.CallType c : FailureTestingListener.CallType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static FailureTestingListener.CallType 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
-
-