2 ms·
Oh no, Pytorch does the same thing: a = torch.tensor(-2*31, dtype=torch.int32) assert a == a.abs()
by rhaps0dy 2y ago
Oh no, Pytorch does the same thing:
a = torch.tensor(-2*31, dtype=torch.int32)
assert a == a.abs()
- MawKKe 2y agonumpy as well. and tensorflow