MPSCNNDilatedPoolingMaxNode(3) MetalPerformanceShaders.framework MPSCNNDilatedPoolingMaxNode(3)

MPSCNNDilatedPoolingMaxNode

#import <MPSNNGraphNodes.h>

Inherits MPSNNFilterNode.


(nonnull instancetype) - initWithSource:kernelWidth:kernelHeight:strideInPixelsX:strideInPixelsY:dilationRateX:dilationRateY:
(nonnull instancetype) - initWithSource:filterSize:stride:dilationRate:
(nonnull instancetype) - initWithSource:filterSize:


(nonnull instancetype) + nodeWithSource:filterSize:
(nonnull instancetype) + nodeWithSource:filterSize:stride:dilationRate:


NSUInteger dilationRateX
NSUInteger dilationRateY

A node for a MPSCNNDilatedPooling kernel This class corresponds to the MPSCNNDilatedPooling class.

- (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull) sourceNode(NSUInteger) size

Convenience initializer for MPSCNNDilatedPooling nodes with square non-overlapping kernels

Parameters:

sourceNode The MPSNNImageNode representing the source MPSImage for the filter
size kernelWidth = kernelHeight = strideInPixelsX = strideInPixelsY = dilationRateX = dilationRateY = size

Returns:

A new MPSNNFilter node for a MPSCNNDilatedPooling kernel.

- (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull) sourceNode(NSUInteger) size(NSUInteger) stride(NSUInteger) dilationRate

Convenience initializer for MPSCNNDilatedPooling nodes with square kernels and equal dilation factors

Parameters:

sourceNode The MPSNNImageNode representing the source MPSImage for the filter
size kernelWidth = kernelHeight = size
stride strideInPixelsX = strideInPixelsY = stride
dilationRate dilationRateX = dilationRateY = stride

Returns:

A new MPSNNFilter node for a MPSCNNDilatedPooling kernel.

- (nonnull instancetype) initWithSource: (MPSNNImageNode *__nonnull) sourceNode(NSUInteger) kernelWidth(NSUInteger) kernelHeight(NSUInteger) strideInPixelsX(NSUInteger) strideInPixelsY(NSUInteger) dilationRateX(NSUInteger) dilationRateY

Init a node representing a MPSCNNPooling kernel

Parameters:

sourceNode The MPSNNImageNode representing the source MPSImage for the filter
kernelWidth The width of the max filter window
kernelHeight The height of the max filter window
strideInPixelsX The output stride (downsampling factor) in the x dimension.
strideInPixelsY The output stride (downsampling factor) in the y dimension.
dilationRateX The dilation factor in the x dimension.
dilationRateY The dilation factor in the y dimension.

Returns:

A new MPSNNFilter node for a MPSCNNPooling kernel.

+ (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull) sourceNode(NSUInteger) size

Convenience initializer for MPSCNNDilatedPooling nodes with square non-overlapping kernels

Parameters:

sourceNode The MPSNNImageNode representing the source MPSImage for the filter
size kernelWidth = kernelHeight = strideInPixelsX = strideInPixelsY = dilationRateX = dilationRateY = size

Returns:

A new MPSNNFilter node for a MPSCNNDilatedPooling kernel.

+ (nonnull instancetype) nodeWithSource: (MPSNNImageNode *__nonnull) sourceNode(NSUInteger) size(NSUInteger) stride(NSUInteger) dilationRate

Convenience initializer for MPSCNNDilatedPooling nodes with square kernels and equal dilation factors

Parameters:

sourceNode The MPSNNImageNode representing the source MPSImage for the filter
size kernelWidth = kernelHeight = size
stride strideInPixelsX = strideInPixelsY = stride
dilationRate dilationRateX = dilationRateY = stride

Returns:

A new MPSNNFilter node for a MPSCNNDilatedPooling kernel.

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

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

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

Mon Jul 9 2018 Version MetalPerformanceShaders-119.3