Module iter

Source
Expand description

§Iter

Structs§

IndexedIter
Iter
An immutable iterator of the elements of a tensor Elements are visited in order, matching the layout of the tensor.
IterMut
LayoutIter
An iterator over the positions of an n-dimensional tensor. Each step yields a position containing the current position and corresponding index.
Position

Functions§

to_vec_mapped