MPSCNNUpsamplingBilinearGradient(3)

NAME
MPSCNNUpsamplingBilinearGradient

SYNOPSIS

#import <MPSCNNUpsampling.h>

Inherits MPSCNNUpsamplingGradient.

  Instance Methods
(nonnull instancetype) - initWithDevice:integerScaleFactorX:integerScaleFactorY:

  Additional Inherited Members

Detailed Description

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

Method Documentation

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

Author

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