MPSCNNUpsamplingBilinearGradient(3) MetalPerformanceShaders.framework MPSCNNUpsamplingBilinearGradient(3)

MPSCNNUpsamplingBilinearGradient

#import <MPSCNNUpsampling.h>

Inherits MPSCNNUpsamplingGradient.


(nonnull instancetype) - initWithDevice:integerScaleFactorX:integerScaleFactorY:

This depends on Metal.framework. Specifies the bilinear spatial downsampling filter.

- (nonnull instancetype) initWithDevice: (nonnull id< MTLDevice >) device(NSUInteger) integerScaleFactorX(NSUInteger) integerScaleFactorY

Initialize the bilinear spatial downsampling filter.

Parameters:

device The device the filter will run on.
integerScaleFactorX The downsampling factor for the x dimension.
integerScaleFactorY The downsampling factor for the y dimension.

Returns:

A valid MPSCNNUpsamplingBilinearGradient object or nil, if failure.

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

Mon Jul 9 2018 Version MetalPerformanceShaders-119.3