Enum CNodeNary.NaryType
- java.lang.Object
-
- java.lang.Enum<CNodeNary.NaryType>
-
- org.apache.sysds.hops.codegen.cplan.CNodeNary.NaryType
-
- All Implemented Interfaces:
Serializable
,Comparable<CNodeNary.NaryType>
- Enclosing class:
- CNodeNary
public static enum CNodeNary.NaryType extends Enum<CNodeNary.NaryType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description VECT_AVG_POOL
VECT_CBIND
VECT_CONV2DMM
VECT_IM2COL
VECT_MAX_POOL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static boolean
contains(String value)
String
getTemplate(boolean sparseGen, long len, ArrayList<CNode> inputs, SpoofCompiler.GeneratorAPI api)
boolean
isVectorPrimitive()
static CNodeNary.NaryType
valueOf(String name)
Returns the enum constant of this type with the specified name.static CNodeNary.NaryType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VECT_CBIND
public static final CNodeNary.NaryType VECT_CBIND
-
VECT_MAX_POOL
public static final CNodeNary.NaryType VECT_MAX_POOL
-
VECT_AVG_POOL
public static final CNodeNary.NaryType VECT_AVG_POOL
-
VECT_IM2COL
public static final CNodeNary.NaryType VECT_IM2COL
-
VECT_CONV2DMM
public static final CNodeNary.NaryType VECT_CONV2DMM
-
-
Method Detail
-
values
public static CNodeNary.NaryType[] 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 (CNodeNary.NaryType c : CNodeNary.NaryType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CNodeNary.NaryType 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
-
contains
public static boolean contains(String value)
-
getTemplate
public String getTemplate(boolean sparseGen, long len, ArrayList<CNode> inputs, SpoofCompiler.GeneratorAPI api)
-
isVectorPrimitive
public boolean isVectorPrimitive()
-
-