MPSCNNPoolingGradientNode(3) MetalPerformanceShaders.framework MPSCNNPoolingGradientNode(3)

MPSCNNPoolingGradientNode

#import <MPSNNGraphNodes.h>

Inherits MPSNNGradientFilterNode.

Inherited by MPSCNNDilatedPoolingMaxGradientNode, MPSCNNPoolingAverageGradientNode, MPSCNNPoolingL2NormGradientNode, and MPSCNNPoolingMaxGradientNode.


(nonnull instancetype) - initWithSourceGradient:sourceImage:gradientState:kernelWidth:kernelHeight:strideInPixelsX:strideInPixelsY:paddingPolicy:


(nonnull instancetype) + nodeWithSourceGradient:sourceImage:gradientState:kernelWidth:kernelHeight:strideInPixelsX:strideInPixelsY:paddingPolicy:


NSUInteger kernelWidth
NSUInteger kernelHeight
NSUInteger strideInPixelsX
NSUInteger strideInPixelsY

- (nonnull instancetype) initWithSourceGradient: (MPSNNImageNode *__nonnull) sourceGradient(MPSNNImageNode *__nonnull) sourceImage(MPSNNGradientStateNode *__nonnull) gradientState(NSUInteger) kernelWidth(NSUInteger) kernelHeight(NSUInteger) strideInPixelsX(NSUInteger) strideInPixelsY(nullable id< MPSNNPadding >) paddingPolicy

make a pooling gradient node It would be much easier to use [inferencePoolingNode gradientNodeForSourceGradient:] instead.

Parameters:

sourceGradient The gradient from the downstream gradient filter.
sourceImage The input image to the inference pooling filter
gradientState The gradient state produced by the inference poolin filter
kernelWidth The kernel width of the inference filter
kernelHeight The kernel height of the inference filter
strideInPixelsX The X stride from the inference filter
strideInPixelsY The Y stride from the inference filter

make a pooling gradient node It would be much easier to use [inferencePoolingNode gradientNodeForSourceGradient:] instead.

Parameters:

sourceGradient The gradient from the downstream gradient filter.
sourceImage The input image to the inference pooling filter
gradientState The gradient state produced by the inference poolin filter
kernelWidth The kernel width of the inference filter
kernelHeight The kernel height of the inference filter
strideInPixelsX The X stride from the inference filter
strideInPixelsY The Y stride from the inference filter

- (NSUInteger) kernelHeight [read], [nonatomic], [assign]

- (NSUInteger) kernelWidth [read], [nonatomic], [assign]

- (NSUInteger) strideInPixelsX [read], [nonatomic], [assign]

- (NSUInteger) strideInPixelsY [read], [nonatomic], [assign]

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

Mon Jul 9 2018 Version MetalPerformanceShaders-119.3