torch float 16 code example Example: torch print floating precision torch.set_printoptions(precision=10)