├── .gitignore ├── LICENSE ├── README.md ├── include ├── torch2c.h └── torch2c_generic.h ├── scripts ├── CMakeLists.txt ├── build_deps.sh ├── compile.sh ├── get_deps.sh └── run_test.sh ├── test ├── base.py ├── feedforward.py └── mnist.py └── torch2c ├── __init__.py └── emitters.py /.gitignore: -------------------------------------------------------------------------------- 1 | .DS_Store 2 | out/ 3 | __pycache__ 4 | *.pyc 5 | NOTES.md 6 | tmp/ 7 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lantiga/pytorch2c/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lantiga/pytorch2c/HEAD/README.md -------------------------------------------------------------------------------- /include/torch2c.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lantiga/pytorch2c/HEAD/include/torch2c.h -------------------------------------------------------------------------------- /include/torch2c_generic.h: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lantiga/pytorch2c/HEAD/include/torch2c_generic.h -------------------------------------------------------------------------------- /scripts/CMakeLists.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lantiga/pytorch2c/HEAD/scripts/CMakeLists.txt -------------------------------------------------------------------------------- /scripts/build_deps.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lantiga/pytorch2c/HEAD/scripts/build_deps.sh -------------------------------------------------------------------------------- /scripts/compile.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lantiga/pytorch2c/HEAD/scripts/compile.sh -------------------------------------------------------------------------------- /scripts/get_deps.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lantiga/pytorch2c/HEAD/scripts/get_deps.sh -------------------------------------------------------------------------------- /scripts/run_test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lantiga/pytorch2c/HEAD/scripts/run_test.sh -------------------------------------------------------------------------------- /test/base.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lantiga/pytorch2c/HEAD/test/base.py -------------------------------------------------------------------------------- /test/feedforward.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lantiga/pytorch2c/HEAD/test/feedforward.py -------------------------------------------------------------------------------- /test/mnist.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lantiga/pytorch2c/HEAD/test/mnist.py -------------------------------------------------------------------------------- /torch2c/__init__.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lantiga/pytorch2c/HEAD/torch2c/__init__.py -------------------------------------------------------------------------------- /torch2c/emitters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lantiga/pytorch2c/HEAD/torch2c/emitters.py --------------------------------------------------------------------------------