Class

MPSCNNConvolutionDescriptor

A description of the attributes of a convolution kernel.

Declaration

class MPSCNNConvolutionDescriptor : NSObject

Overview

You use an MPSCNNConvolutionDescriptor object to describe the properties of an MPSCNNConvolution kernel such as its size, pixel format and CPU cache mode.

Topics

Instance Properties

var groups: Int

The number of groups that the input and output channels are divided into.

var inputFeatureChannels: Int

The number of feature channels per pixel in the input image.

var kernelHeight: Int

The height of the kernel window.

var kernelWidth: Int

The width of the kernel window.

var outputFeatureChannels: Int

The number of feature channels per pixel in the output image.

var strideInPixelsX: Int

The output stride (downsampling factor) in the x dimension.

var strideInPixelsY: Int

The output stride (downsampling factor) in the y dimension.

var neuron: MPSCNNNeuron?

The neuron filter to be applied as part of the convolution operation.

Relationships

Inherits From