MPSNNResizeBilinear(3) | MetalPerformanceShaders.framework | MPSNNResizeBilinear(3) |
MPSNNResizeBilinear
#import <MPSNNResize.h>
Inherits MPSCNNKernel.
(nonnull instancetype) - initWithDevice:
(nonnull instancetype) -
initWithDevice:resizeWidth:resizeHeight:alignCorners:
(nullable instancetype) - initWithCoder:device:
NSUInteger resizeWidth
NSUInteger resizeHeight
BOOL alignCorners
This depends on Metal.framework The MPSNNResizeBilinear filter resizes the source image using bilinear interpolation to a destination whose dimensions are given by resizeWidth and resizeHeight
The number of output feature channels remains the same as the number of input feature channels.
NSSecureCoding compatability See MPSKernel::initWithCoder.
Parameters:
Returns:
Reimplemented from MPSCNNKernel.
Standard init with default properties per filter type
Parameters:
Returns:
Reimplemented from MPSCNNKernel.
Initialize the resize bilinear filter.
Parameters:
Returns:
If YES, the centers of the 4 corner pixels of the input and output regions are aligned, preserving the values at the corner pixels. The default is NO.
The resize height.
The resize width.
Generated automatically by Doxygen for MetalPerformanceShaders.framework from the source code.
Mon Jul 9 2018 | Version MetalPerformanceShaders-119.3 |