Converting 1D tensor into a 1D array using Fastai
I have a question, about hoy to convert a 1D Tensor to a 1D Array, using Fastai.
For example, I have this tensor:
tensor([2.2097e-05, 2.6679e-04, 4.6098e-05, 5.5458e-01, 4.4509e-01])

I'm assuming when you say tensor you are talking about Pytorch and when you say array you are talking about Numpy.
Then this should do it.
tensor.numpy()

