public final class MPSNNPaddingMethod
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
static long |
AddRemainderToBottomLeft |
static long |
AddRemainderToBottomRight
< Extra padding pixels are accumulated to bottom and right sides
|
static long |
AddRemainderToMask |
static long |
AddRemainderToTopLeft
< Extra padding pixels are accumulated to top and left sides
|
static long |
AddRemainderToTopRight |
static long |
Align_reserved
< Extra padding pixels are not defined.
|
static long |
AlignBottomRight
< Extra padding pixels appear on the bottom and right sides
|
static long |
AlignCentered
< Extra padding pixels are distributed as evenly as possible to all sides
|
static long |
AlignMask |
static long |
AlignTopLeft
< Extra padding pixels appear on top and left sides
|
static long |
Custom
< Use destinationImageDescriptorForSourceImages:sourceStates:forKernel:suggestedDescriptor: to calculate padding and offset.
|
static long |
CustomAllowForNodeFusion
< By itself, MPSNNPaddingMethodCustom will inhibit automatic fusion between nodes producing and consuming the image described by the padding policy.
|
static long |
CustomWhitelistForNodeFusion |
static long |
ExcludeEdges
The caffe framework constrains the average pooling area to the limits of the padding area in cases
where a pixel would read beyond the padding area.
|
static long |
Size_reserved |
static long |
SizeFull
< The result is the largest image for which *any* source pixel is valid for result pixels
|
static long |
SizeMask |
static long |
SizeSame
< The result is the same size as the input image (before strides)
|
static long |
SizeValidOnly
< The result is the largest image for which *all* source pixels are valid for result pixels
|
public static final long AlignCentered
public static final long AlignTopLeft
public static final long AlignBottomRight
public static final long Align_reserved
public static final long AlignMask
public static final long AddRemainderToTopLeft
public static final long AddRemainderToTopRight
public static final long AddRemainderToBottomLeft
public static final long AddRemainderToBottomRight
public static final long AddRemainderToMask
public static final long SizeValidOnly
public static final long SizeSame
public static final long SizeFull
public static final long Size_reserved
public static final long Custom
public static final long SizeMask
public static final long ExcludeEdges
public static final long CustomWhitelistForNodeFusion
public static final long CustomAllowForNodeFusion