.TH "" 3 "Mon Jul 9 2018" "Version MetalPerformanceShaders-119.3" "MetalPerformanceShaders.framework" \" -*- nroff -*- .ad l .nh .SH NAME .SH SYNOPSIS .br .PP .PP \fC#include \fP .PP Inherited by \fBMPSNNDefaultPadding\fP\&. .SH "Detailed Description" .PP \fBA\fP method to describe how MPSCNNKernels should pad images when data outside the image is needed Different (non-Apple) CNN frameworks have different policies for how to size the result of a CNN filter and what padding to add around the edges\&. Some filters such as pooling and convolution read from neighboring feature channel (pixel) values\&. Four predefined MPSPaddingMethods are available: MPSNNPaddingMethodValidOnly, MPSNNPaddingMethodFull, MPSNNPaddingMethodSameTL, MPSNNPaddingMethodSameBR\&. You may also implement your own padding definition with a block that conforms to this prototype\&. .SH "Author" .PP Generated automatically by Doxygen for MetalPerformanceShaders\&.framework from the source code\&.