37 points · by tonio · 2y ago · 6 comments
[0] https://github.com/tinygrad/tinygrad/blob/master/docs/mnist....
The first line: "import numpy as np"
A cool idea for a v2 without numpy would be implementing matmuls with lists, matrix transpose with zip() and switching np.exp for math.exp. And getting all that on fewer lines as possible.