manpagez: man pages & more
man MPSCNNPoolingL2Norm(3)
Home | html | info | man
MPSCNNPoolingL2Norm(3) MetalPerformanceShaders.frameworkMPSCNNPoolingL2Norm(3)




NAME

       MPSCNNPoolingL2Norm


SYNOPSIS

       #import <MPSCNNPooling.h>

       Inherits MPSCNNPooling.

   Instance Methods
       (nonnull instancetype) -
           initWithDevice:kernelWidth:kernelHeight:strideInPixelsX:strideInPixelsY:
       (nullable instancetype) - initWithCoder:device:

   Additional Inherited Members

Detailed Description

       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] ).


Method Documentation

   - (nullable instancetype) initWithCoder: (NSCoder *__nonnull)
       aDecoder(nonnull id< MTLDevice >) device
       NSSecureCoding compatability  See MPSKernel::initWithCoder.

       Parameters:
           aDecoder The NSCoder subclass with your serialized MPSCNNPooling
           device The MTLDevice on which to make the MPSCNNPooling

       Returns:
           A new MPSCNNPooling object, or nil if failure.



       Reimplemented from MPSCNNPooling.

   - (nonnull instancetype) initWithDevice: (nonnull id< MTLDevice >)
       device(NSUInteger) kernelWidth(NSUInteger) kernelHeight(NSUInteger)
       strideInPixelsX(NSUInteger) strideInPixelsY
       Initialize a MPSCNNPoolingL2Norm pooling filter

       Parameters:
           device The device the filter will run on
           kernelWidth The width of the kernel. Can be an odd or even value.
           kernelHeight The height of the kernel. Can be an odd or even value.
           strideInPixelsX The output stride (downsampling factor) in the x
           dimension.
           strideInPixelsY The output stride (downsampling factor) in the y
           dimension.

       Returns:
           A valid MPSCNNPooling object or nil, if failure.



       Reimplemented from MPSCNNPooling.



Author

       Generated automatically by Doxygen for
       MetalPerformanceShaders.framework from the source code.





Version MetalPerformanceShaders-Thu2Jul 13 2017         MPSCNNPoolingL2Norm(3)


Mac OS X 10.12.6 - Generated Sun Oct 29 19:31:01 CDT 2017
© manpagez.com 2000-2025
Individual documents may contain additional copyright information.