Module acme_tensor::iter

source ·
Expand description

§Iter

Structs§

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

Functions§