prabhuomkar/pytorch-cpp
C++ port of PyTorch deep learning tutorials covering neural networks, CNNs, RNNs, GANs, and transformers using libtorch.

This repository provides C++ implementations of common PyTorch deep learning tutorials, allowing developers to write ML models in C++ using the libtorch library. It covers fundamentals like tensors and autograd, intermediate topics including CNNs and RNNs, and advanced models such as transformers, variational autoencoders, and reinforcement learning algorithms. The project includes ready-to-compile code with CMake build files for cross-platform support.
Frequently asked
- What is prabhuomkar/pytorch-cpp?
- C++ port of PyTorch deep learning tutorials covering neural networks, CNNs, RNNs, GANs, and transformers using libtorch.
- Is pytorch-cpp open source?
- Yes — prabhuomkar/pytorch-cpp is open source, released under the MIT license.
- What language is pytorch-cpp written in?
- prabhuomkar/pytorch-cpp is primarily written in C++.
- How popular is pytorch-cpp?
- prabhuomkar/pytorch-cpp has 2.1k stars on GitHub.
- Where can I find pytorch-cpp?
- prabhuomkar/pytorch-cpp is on GitHub at https://github.com/prabhuomkar/pytorch-cpp.