public enum PoolingMethod extends java.lang.Enum<PoolingMethod>
| Enum Constant and Description |
|---|
AVERAGE
Average pooling method.
|
MAXIMUM
Maximum pooling method.
|
| Modifier and Type | Method and Description |
|---|---|
static PoolingMethod |
fromValue(int value)
Creates an enumeration value from int.
|
int |
getValue()
Gets the enumeration value as int.
|
static PoolingMethod |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PoolingMethod[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PoolingMethod AVERAGE
public static final PoolingMethod MAXIMUM
public static PoolingMethod[] values()
for (PoolingMethod c : PoolingMethod.values()) System.out.println(c);
public static PoolingMethod valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic int getValue()
public static PoolingMethod fromValue(int value)
value - The int value.Copyright © id3 Technologies. All rights reserved. eu.id3.face