manpagez: man pages & more
man MPSCNNPoolingMax(3)
Home | html | info | man
MPSCNNPoolingMax(3)    MetalPerformanceShaders.framework   MPSCNNPoolingMax(3)




NAME

       MPSCNNPoolingMax


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 max pooling filter. For
       each pixel, returns the maximum value of pixels in the kernelWidth x
       kernelHeight filter region.


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 MPSCNNPoolingMax 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            MPSCNNPoolingMax(3)


Mac OS X 10.13.1 - Generated Mon Nov 6 19:15:16 CST 2017
© manpagez.com 2000-2024
Individual documents may contain additional copyright information.