Neural network demo, as a series of increasingly awesome rewrites from Pytorch to C to Brainfuck:
- Vanilla pytorch
zeronn/orig/
- torch.nn banned, provide forward pass, use autograd
zeronn/auto/
- Autograd banned, provide backward pass, like numpy
zeronn/fp/
- Floats banned, use integer fixed point
zeronn/fx/
- Rewrite #3 in C99
src/fp/
- Rewrite #4 in C99
src/fx/
- Ints banned, use byte bignum fixed point, in C99
src/bigfx/