clone method

Tensor clone()

Create a deep copy.

Implementation

Tensor clone() => Tensor(Float32List.fromList(data), List<int>.from(shape));