Tensor.Numpy () Pytorch GPU
tensor_array.cpu().detach().numpy()
Awful Ape
tensor_array.cpu().detach().numpy()