print exact value of tensor(floating point precision) with pytorch
You can set the precision options
torch.set_printoptions(precision=10)
There are more formatting options on the documentation page: http://pytorch.org/docs/master/torch.html#creation-ops it is very similar to numpys.