I'm confused by some output I'm seeing.
If p is a list of floats, what is the difference between:
input = np.array([p]).astype('f')
and
input = np.array([p],float)
If I use the second option and then do a print(input), I always get something like:
[array([-0.662, 0.246, 1.029])]
But if I use the first option, sometimes I get simply: [[ 0.61900002 1.71300006 2.16899991]]
but other times I get the [array([])] form.