MPSCNNDilatedPoolingMaxNode(3)

NAME
MPSCNNDilatedPoolingMaxNode

SYNOPSIS

#import <MPSNNGraphNodes.h>

Inherits MPSNNFilterNode.

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

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

  Properties
NSUInteger dilationRateX
NSUInteger dilationRateY

Detailed Description

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

Method Documentation

  - (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.

Property Documentation

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

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

Author

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