Contents

offsets

An array of length four that determines from which offset to start reading the input tensor.

Declaration

var offsets: [NSNumber] { get set }

Discussion

Only used when paddingStyle is MPSGraphPaddingStyleExplicitOffset. For example zero offset means that the first stencil window will align its top-left corner (in 4 dimensions) to the top-left corner of the input tensor. Default value: @[ @0, @0, @0, @0 ]