MPSCNNDilatedPoolingMaxGradientNode(3)

NAME
MPSCNNDilatedPoolingMaxGradientNode

SYNOPSIS

#import <MPSNNGraphNodes.h>

Inherits MPSCNNPoolingGradientNode.

  Instance Methods
(nonnull instancetype) - initWithSourceGradient:sourceImage:gradientState:kernelWidth:kernelHeight:strideInPixelsX:strideInPixelsY:dilationRateX:dilationRateY:

  Class Methods
(nonnull instancetype) + nodeWithSourceGradient:sourceImage:gradientState:kernelWidth:kernelHeight:strideInPixelsX:strideInPixelsY:dilationRateX:dilationRateY:

  Properties
NSUInteger dilationRateX
NSUInteger dilationRateY

Method Documentation

  - (nonnull instancetype) initWithSourceGradient: (MPSNNImageNode *__nonnull) sourceGradient(MPSNNImageNode *__nonnull) sourceImage(MPSNNGradientStateNode *__nonnull) gradientState(NSUInteger) kernelWidth(NSUInteger) kernelHeight(NSUInteger) strideInPixelsX(NSUInteger) strideInPixelsY(NSUInteger) dilationRateX(NSUInteger) dilationRateY
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

  + (nonnull instancetype) nodeWithSourceGradient: (MPSNNImageNode *__nonnull) sourceGradient(MPSNNImageNode *__nonnull) sourceImage(MPSNNGradientStateNode *__nonnull) gradientState(NSUInteger) kernelWidth(NSUInteger) kernelHeight(NSUInteger) strideInPixelsX(NSUInteger) strideInPixelsY(NSUInteger) dilationRateX(NSUInteger) dilationRateY
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

Property Documentation

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

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

Author

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