get precision value in pytorch code example Example: torch print floating precision torch.set_printoptions(precision=10)