Tensor gegen Numpy Array
A tensor is a more suitable choice if you’re going to be using GPU’s as it can reside in accelerators memory.
Tensors are similar to NumPy’s ndarrays, except that tensors can run on GPUs
or other specialized hardware to accelerate computing.
Tensors are immutable
coder