tqchen/tinyflow
A minimal deep learning system implemented in ~2k lines of C++ and Lua that demonstrates computational graph construction, operator implementation, and GPU execution.

TinyFlow is an educational deep learning framework that builds a computational graph-based system from scratch. It provides operator implementations using Torch7, an execution runtime with memory management, and a symbolic API inspired by TensorFlow. The system demonstrates key DL system concepts including symbolic differentiation, operator fusion, and modular intermediate representation through NNVM.
Frequently asked
- What is tqchen/tinyflow?
- A minimal deep learning system implemented in ~2k lines of C++ and Lua that demonstrates computational graph construction, operator implementation, and GPU execution.
- Is tinyflow open source?
- Yes — tqchen/tinyflow is open source, released under the Apache-2.0 license.
- What language is tinyflow written in?
- tqchen/tinyflow is primarily written in C++.
- How popular is tinyflow?
- tqchen/tinyflow has 2k stars on GitHub.
- Where can I find tinyflow?
- tqchen/tinyflow is on GitHub at https://github.com/tqchen/tinyflow.