tinygrad/tinygrad/shape
chenyu 0dd3ca59cd
simpler ModNode.__mod__ and ModNode.__floordiv__ (#2983)
`gcd(self.b, b) == b` is equivalent to `self.b % b == 0`.
use the same condition and format in __floordiv__ too.
2024-01-02 18:52:42 -05:00
..
shapetracker.py Variable.sum -> Node.sum, Variable.ands -> Node.ands (#2961) 2024-01-01 16:21:28 -05:00
symbolic.py simpler ModNode.__mod__ and ModNode.__floordiv__ (#2983) 2024-01-02 18:52:42 -05:00
view.py Fix reshape merging with masks (#2877) 2023-12-20 14:00:58 -08:00