Comment Comment by rhaps0dy Oh no, Pytorch does the same thing:a = torch.tensor(-2*31, dtype=torch.int32) assert a == a.abs() parent rhaps0dy 1 year ago
a = torch.tensor(-2*31, dtype=torch.int32) assert a == a.abs()