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