Contents

strides

The distance, in elements, between consecutive values along each dimension.

Declaration

var strides: [Int] { get }

Discussion

The strides array has the same number of elements as shape, where strides[i] describes the distance between consecutive elements in the ith dimension.

See Also

Inspecting an array