Enum AvgPooling2D.Pooling2DType
- java.lang.Object
-
- java.lang.Enum<AvgPooling2D.Pooling2DType>
-
- org.nd4j.linalg.api.ops.impl.layers.convolution.AvgPooling2D.Pooling2DType
-
- All Implemented Interfaces:
Serializable,Comparable<AvgPooling2D.Pooling2DType>
- Enclosing class:
- AvgPooling2D
public static enum AvgPooling2D.Pooling2DType extends Enum<AvgPooling2D.Pooling2DType>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static AvgPooling2D.Pooling2DTypevalueOf(String name)Returns the enum constant of this type with the specified name.static AvgPooling2D.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 AvgPooling2D.Pooling2DType MAX
-
AVG
public static final AvgPooling2D.Pooling2DType AVG
-
PNORM
public static final AvgPooling2D.Pooling2DType PNORM
-
-
Method Detail
-
values
public static AvgPooling2D.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 (AvgPooling2D.Pooling2DType c : AvgPooling2D.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 AvgPooling2D.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
-
-