values property

Iterable<T> values

An iterator over the values of the tensor.

Implementation

Iterable<T> get values => layout.indices.map((index) => data[index]);