A simple Pytorch reimplementation.
pip install -r requirements.txt
python setup.py develop
python example/mnist.py
python -m unittest
PS: pytorch
is required to check the correctness of implementation.
- mm [done]
- relu [done]
- max_pool2d [done]
- conv2d []
- efficient im2col with stride
- log_softmax [done]
- view [done]
- nll_loss [done]
- in-place add/sub/mul/div [done]
- gradient accum in backward [done]
- gradient_check_tool [done]
- no_grad [done]
- grad as tensor [done]
- inplace gradient calculation []
- module load/store [done]
- test []
- mnist example [done]
- ref count []
- use topological sort and fix inplace operation
- in-place[]
- normal sharing []
- dataloader [done]
- hide numpy from user []
- dot graph []
- Conv grad with padding