C2NN: a C-to-neural-network compiler
Published:
C2NN lowers C programs into neural networks that compute the same function. It translates control flow and arithmetic over LLVM IR into differentiable network structure. The goal is to initialize a model’s weights from existing code, so training starts from a working program rather than from noise.
Stack: LLVM, C++, PyTorch. In progress.
