Contents

paddingStyle

The type of padding that is applied to the source tensor.

Declaration

var paddingStyle: MPSGraphPaddingStyle { get set }

Discussion

If paddingStyle is MPSGraphPaddingStyleExplicit, paddingLeft, laddingRight, paddingTop, paddingBottom, paddingFront and paddingBack must to be specified. For all other padding styles, framework compute these values so you dont need to provide these values.