pretty print tensor format float code example Example: torch print floating precision torch.set_printoptions(precision=10)