public enum PaddingType extends java.lang.Enum<PaddingType>
| Enum Constant and Description |
|---|
CLIPPED
The kernel is cropped and reweighted such that it does not extend outside the image.
|
EXTEND
Input is padded with values which extend the nearest element
|
MAX_NEGATIVE
Input is padded with the most negative possible number
|
MAX_POSITIVE
Input is padded with the most positive possible number
|
ZERO
Input is padded with zero valued elements
|
| Modifier and Type | Method and Description |
|---|---|
static PaddingType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PaddingType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PaddingType ZERO
public static final PaddingType MAX_NEGATIVE
public static final PaddingType MAX_POSITIVE
public static final PaddingType EXTEND
public static final PaddingType CLIPPED
public static PaddingType[] values()
for (PaddingType c : PaddingType.values()) System.out.println(c);
public static PaddingType 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 null