Contents

paddingStyle

The type of padding applied to the source tensor.

Declaration

var paddingStyle: MPSGraphPaddingStyle { get set }

Discussion

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