Package org.nd4j.autodiff.samediff
Enum SDIndex.IndexType
- java.lang.Object
-
- java.lang.Enum<SDIndex.IndexType>
-
- org.nd4j.autodiff.samediff.SDIndex.IndexType
-
- All Implemented Interfaces:
Serializable
,Comparable<SDIndex.IndexType>
- Enclosing class:
- SDIndex
public static enum SDIndex.IndexType extends Enum<SDIndex.IndexType>
Index types include the following: 1. all: get all elements of this dimension 2. point: get only elements at the particular point in this dimension 3. interval: get only elements from a begin point to an end point in the interval 4. point input: dynamic version of point 5. interval input: dynamic version of interval
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALL
INTERVAL
INTERVAL_INPUT
POINT
POINT_INPUT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SDIndex.IndexType
valueOf(String name)
Returns the enum constant of this type with the specified name.static SDIndex.IndexType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALL
public static final SDIndex.IndexType ALL
-
POINT
public static final SDIndex.IndexType POINT
-
INTERVAL
public static final SDIndex.IndexType INTERVAL
-
POINT_INPUT
public static final SDIndex.IndexType POINT_INPUT
-
INTERVAL_INPUT
public static final SDIndex.IndexType INTERVAL_INPUT
-
-
Method Detail
-
values
public static SDIndex.IndexType[] 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 (SDIndex.IndexType c : SDIndex.IndexType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SDIndex.IndexType 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
-
-