toTensors method

Iterable<Vector<double>> toTensors()

Constructs an iterable of tensors.

Implementation

Iterable<Vector<double>> toTensors() =>
    map((e) => Float32Vector([e.toDouble()]));