MPSCNNPoolingL2Norm(3) | MetalPerformanceShaders.framework | MPSCNNPoolingL2Norm(3) |
MPSCNNPoolingL2Norm
#import <MPSCNNPooling.h>
Inherits MPSCNNPooling.
(nonnull instancetype) -
initWithDevice:kernelWidth:kernelHeight:strideInPixelsX:strideInPixelsY:
(nullable instancetype) - initWithCoder:device:
This depends on Metal.framework Specifies the L2-norm pooling filter. For each pixel, returns L2-Norm of pixels in the kernelWidth x kernelHeight filter region. out[c,x,y] = sqrt ( sum_{dx,dy} in[c,x+dx,y+dy] * in[c,x+dx,y+dy] ).
NSSecureCoding compatability See MPSKernel::initWithCoder.
Parameters:
Returns:
Reimplemented from MPSCNNPooling.
Initialize a MPSCNNPoolingL2Norm pooling filter
Parameters:
Returns:
Reimplemented from MPSCNNPooling.
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Mon Jul 9 2018 | Version MetalPerformanceShaders-119.3 |