Protocol

MPSImageSizeEncodingState

A protocol for objects that contain information about an image size elsewhere in the graph.

Declaration

@protocol MPSImageSizeEncodingState

Topics

Instance Properties

sourceHeight

Required.

sourceWidth

Required.

Relationships

Inherits From

See Also

Convolution Layers

MPSCNNBinaryConvolution

A convolution kernel with binary weights and an input image using binary approximations.

MPSCNNConvolution

A convolution kernel that convolves the input image with a set of filters, with each producing one feature map in the output image.

MPSCNNDepthWiseConvolutionDescriptor

A description of a convolution object that does depthwise convolution.

MPSCNNSubPixelConvolutionDescriptor

A description of a convolution object that does subpixel upsampling and reshaping.

MPSCNNConvolutionTranspose

A transposed convolution kernel.

MPSCNNConvolutionGradient

A gradient convolution kernel.

MPSCNNConvolutionGradientState

An object that exposes a gradient convolution kernel's gradient with respect to weights and biases.

MPSCNNConvolutionWeightsAndBiasesState

A class that stores weights and biases.

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