Package org.nd4j.autodiff.execution.conf
Enum OutputMode
- java.lang.Object
-
- java.lang.Enum<OutputMode>
-
- org.nd4j.autodiff.execution.conf.OutputMode
-
- All Implemented Interfaces:
Serializable
,Comparable<OutputMode>
public enum OutputMode extends Enum<OutputMode>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EXPLICIT
only declared output fieldsEXPLICIT_AND_IMPLICIT
both options enabledIMPLICIT
only final nodes of graph will be returnedVARIABLE_SPACE
whole content of VariableSpace will be returned back
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OutputMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static OutputMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
IMPLICIT
public static final OutputMode IMPLICIT
only final nodes of graph will be returned
-
EXPLICIT
public static final OutputMode EXPLICIT
only declared output fields
-
EXPLICIT_AND_IMPLICIT
public static final OutputMode EXPLICIT_AND_IMPLICIT
both options enabled
-
VARIABLE_SPACE
public static final OutputMode VARIABLE_SPACE
whole content of VariableSpace will be returned back
-
-
Method Detail
-
values
public static OutputMode[] 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 (OutputMode c : OutputMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OutputMode 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
-
-