Contents

explicitPadding

The property that defines padding values for spatial dimensions.

Declaration

var explicitPadding: [NSNumber] { get set }

Discussion

Must be eight numbers, two for each spatial dimension. For example paddingValues[0] defines the explicit padding amount before the first spatial dimension (slowest running index of spatial dimensions), paddingValues[1] defines the padding amount after the first spatial dimension etc. Used only when paddingStyle = MPSGraphPaddingStyleExplicit. Default value: @[ @0, @0, @0, @0, @0, @0, @0, @0 ]