Enum ScatterUpdate.UpdateOp
- java.lang.Object
-
- java.lang.Enum<ScatterUpdate.UpdateOp>
-
- org.nd4j.linalg.api.ops.impl.scatter.ScatterUpdate.UpdateOp
-
- All Implemented Interfaces:
Serializable
,Comparable<ScatterUpdate.UpdateOp>
- Enclosing class:
- ScatterUpdate
public static enum ScatterUpdate.UpdateOp extends Enum<ScatterUpdate.UpdateOp>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
ASSIGN
DIVIDE
MULTIPLY
REVERSE_DIVIDE
REVERSE_SUBTRACT
SUBTRACT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ScatterUpdate.UpdateOp
valueOf(String name)
Returns the enum constant of this type with the specified name.static ScatterUpdate.UpdateOp[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ADD
public static final ScatterUpdate.UpdateOp ADD
-
SUBTRACT
public static final ScatterUpdate.UpdateOp SUBTRACT
-
MULTIPLY
public static final ScatterUpdate.UpdateOp MULTIPLY
-
DIVIDE
public static final ScatterUpdate.UpdateOp DIVIDE
-
REVERSE_SUBTRACT
public static final ScatterUpdate.UpdateOp REVERSE_SUBTRACT
-
REVERSE_DIVIDE
public static final ScatterUpdate.UpdateOp REVERSE_DIVIDE
-
ASSIGN
public static final ScatterUpdate.UpdateOp ASSIGN
-
-
Method Detail
-
values
public static ScatterUpdate.UpdateOp[] 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 (ScatterUpdate.UpdateOp c : ScatterUpdate.UpdateOp.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ScatterUpdate.UpdateOp 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
-
-