This repository contains learning exercises for pytorch cpp frontend
- Installation of LibTorch. Follow instructions in this pytorch tutorial under
Writing a Basic Application section
- C++ proficiency and knowledge of C++ Pytorch Frotend
- Intel MKL Installation
sudo apt-get -y install intel-mkl
mkdir build
cd build
cmake -DCMAKE_PREFIX_PATH=$PWD/../../libtorch ..
cmake --build . --config Release
// Inside build directory
./currentExecutable
// Inside pytorch_cpp_fronted
python display.py -i build/dcgan-sample-200.pt
Solution : In branch variadic_templates
Solution : In branch dcgan_v1