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


class MPSCNNUpsamplingGradient : MPSCNNGradientKernel


Conforms To

See Also

Upsampling Layers

class MPSCNNUpsampling

A filter that resamples an existing MPS image.

class MPSCNNUpsamplingBilinear

A bilinear spatial upsampling filter.

class MPSCNNUpsamplingNearest

A nearest spatial upsampling filter.

class MPSCNNUpsamplingBilinearGradient

A gradient bilinear spatial upsampling filter.

class 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