I am facing precision problem while converting from list to FloatTensor. Looked through the documentation but unable to find any parameter or variable that lets me set/fix the precision.
Example given below:
print(weight)
> [ 0.02551583  0.01355686 -0.04717987 ...  0.01422889 -0.01558862
   0.01234896]

print(torch.FloatTensor(weight))
> tensor([ 0.0255,  0.0136, -0.0472,  ...,  0.0142, -0.0156,  0.0123])

Hoping for a quick solve.