Used to copy a torch.Tensor or np.ndarray object.
array_like (np.ndarray, torch.Tensor) – array/tensor to copy.