Package org.nd4j.linalg.profiler
Enum OpProfiler.PenaltyCause
- java.lang.Object
-
- java.lang.Enum<OpProfiler.PenaltyCause>
-
- org.nd4j.linalg.profiler.OpProfiler.PenaltyCause
-
- All Implemented Interfaces:
Serializable,Comparable<OpProfiler.PenaltyCause>
- Enclosing class:
- OpProfiler
public static enum OpProfiler.PenaltyCause extends Enum<OpProfiler.PenaltyCause>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description MIXED_ORDERNON_EWS_ACCESSNONESTRIDED_ACCESSTAD_NON_EWS_ACCESSTAD_STRIDED_ACCESS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OpProfiler.PenaltyCausevalueOf(String name)Returns the enum constant of this type with the specified name.static OpProfiler.PenaltyCause[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NONE
public static final OpProfiler.PenaltyCause NONE
-
NON_EWS_ACCESS
public static final OpProfiler.PenaltyCause NON_EWS_ACCESS
-
STRIDED_ACCESS
public static final OpProfiler.PenaltyCause STRIDED_ACCESS
-
MIXED_ORDER
public static final OpProfiler.PenaltyCause MIXED_ORDER
-
TAD_NON_EWS_ACCESS
public static final OpProfiler.PenaltyCause TAD_NON_EWS_ACCESS
-
TAD_STRIDED_ACCESS
public static final OpProfiler.PenaltyCause TAD_STRIDED_ACCESS
-
-
Method Detail
-
values
public static OpProfiler.PenaltyCause[] 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 (OpProfiler.PenaltyCause c : OpProfiler.PenaltyCause.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static OpProfiler.PenaltyCause 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
-
-