Class

MPSCNNUpsamplingBilinear

A bilinear spatial upsampling filter.

Declaration

@interface MPSCNNUpsamplingBilinear : MPSCNNUpsampling

Overview

This filter can be used to resample an existing MPSImage using a different sampling frequency for the x and y dimensions with the purpose of enlarging the size of an image.

The number of output feature channels remains the same as the number of input feature channels.

The scaleFactor must be an integer value >= 1. The default value is 1.

Relationships

Inherits From

See Also

Upsampling Layers

MPSCNNUpsampling

A filter that resamples an existing MPS image.

MPSCNNUpsamplingNearest

A nearest spatial upsampling filter.

MPSCNNUpsamplingBilinearGradient

A gradient bilinear spatial upsampling filter.

MPSCNNUpsamplingGradient

A gradient filter that upsamples an existing Metal Performance Shaders image.

MPSCNNUpsamplingNearestGradient

A gradient upsampling filter that samples the pixel nearest to the source when upsampling to the destination pixel.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software