prabhuomkar/pytorch-cpp
C++ Implementation of PyTorch Tutorials for Everyone
This project offers C++ code examples that replicate deep learning tutorials originally written in Python with PyTorch. It helps deep learning researchers and practitioners understand how to implement various neural network architectures using C++. You provide C++ code and dependencies, and it outputs compiled executable programs demonstrating fundamental to advanced deep learning models.
2,129 stars. No commits in the last 6 months.
Use this if you are a deep learning researcher or engineer familiar with C++ and want to learn how to implement PyTorch models in a C++ environment, or if you need to port existing Python PyTorch models to C++.
Not ideal if you are a beginner in deep learning looking for an introduction to PyTorch using Python, or if you prefer to work exclusively in Python for your machine learning projects.
Stars
2,129
Forks
273
Language
C++
License
MIT
Category
Last pushed
Aug 25, 2025
Commits (30d)
0
Get this data via API
curl "https://pt-edge.onrender.com/api/v1/quality/ml-frameworks/prabhuomkar/pytorch-cpp"
Open to everyone — 100 requests/day, no key needed. Get a free key for 1,000/day.
Higher-rated alternatives
apache/tvm
Open Machine Learning Compiler Framework
uxlfoundation/oneDNN
oneAPI Deep Neural Network Library (oneDNN)
Tencent/ncnn
ncnn is a high-performance neural network inference framework optimized for the mobile platform
OpenMined/TenSEAL
A library for doing homomorphic encryption operations on tensors
iree-org/iree-turbine
IREE's PyTorch Frontend, based on Torch Dynamo.