Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

mpscnndilatedpoolingmaxgradient(3) [mojave man page]

MPSCNNDilatedPoolingMaxGradient(3)			 MetalPerformanceShaders.framework			MPSCNNDilatedPoolingMaxGradient(3)

NAME
MPSCNNDilatedPoolingMaxGradient SYNOPSIS
#import <MPSCNNPooling.h> Inherits MPSCNNPoolingGradient. Instance Methods (nonnull instancetype) - initWithDevice:kernelWidth:kernelHeight:dilationRateX:dilationRateY:strideInPixelsX:strideInPixelsY: (nonnull instancetype) - initWithDevice:kernelWidth:kernelHeight:strideInPixelsX:strideInPixelsY: (nullable instancetype) - initWithCoder:device: Additional Inherited Members Detailed Description This depends on Metal.framework Specifies the filter for computing the gradient of the dilated max pooling filter. For details see comments on MPSCNNPoolingMaxGradient. 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 MPSCNNPoolingMaxGradient device The MTLDevice on which to make the MPSCNNPoolingMaxGradient Returns: A new MPSCNNPoolingMaxGradient object, or nil if failure. Reimplemented from MPSCNNPoolingGradient. - (nonnull instancetype) initWithDevice: (nonnull id< MTLDevice >) device(NSUInteger) kernelWidth(NSUInteger) kernelHeight(NSUInteger) dilationRateX(NSUInteger) dilationRateY(NSUInteger) strideInPixelsX(NSUInteger) strideInPixelsY Initialize a MPSCNNDilatedPoolingMaxGradient 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. dilationRateX The dilation rate in the x dimension. dilationRateY The dilation rate in the y dimension. strideInPixelsX The output stride (downsampling factor) in the x dimension. strideInPixelsY The output stride (downsampling factor) in the y dimension. Returns: A valid MPSCNNDilatedPoolingMax object or nil, if failure. - (nonnull instancetype) initWithDevice: (nonnull id< MTLDevice >) device(NSUInteger) kernelWidth(NSUInteger) kernelHeight(NSUInteger) strideInPixelsX(NSUInteger) strideInPixelsY Initialize a gradient 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 input stride (upsampling factor) in the x dimension. strideInPixelsY The input stride (upsampling factor) in the y dimension. Returns: A valid MPSCNNPoolingGradient object or nil, if failure. Reimplemented from MPSCNNPoolingGradient. Author Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNDilatedPoolingMaxGradient(3)

Check Out this Related Man Page

MPSCNNDilatedPoolingMaxGradientNode(3)			 MetalPerformanceShaders.framework		    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. Version MetalPerformanceShaders-100 Thu Feb 8 2018 MPSCNNDilatedPoolingMaxGradientNode(3)
Man Page