Hacker News new | ask | show | jobs
by rhaps0dy 454 days ago
Oh no, Pytorch does the same thing:

a = torch.tensor(-2*31, dtype=torch.int32) assert a == a.abs()

1 comments

numpy as well. and tensorflow