Contents

paddingValues

Defines padding values for spatial dimensions which must be eight numbers, two for each spatial dimension.

Declaration

var paddingValues: [NSNumber] { get set }

Discussion

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 ]