3 ms·
Honestly though, I wish min and max were treated as first class citizens, the way addition and multiplication are. In-place max=, min= operators would be super
by fritzo 3y ago
Honestly though, I wish min and max were treated as first class citizens, the way addition and multiplication are. In-place max=, min= operators would be super useful, both in Python in general and in ML flavored libraries in particular (e.g. numpy, torch).