Follow these steps to create a basic CMake project with torch C++ enabled. The proposed folders structure is not mandatory, but is focused to run tests with ease.
We will be working with VS-Code, for Visual Studio, find a tutorial ,by Khareed, here