Following https://pytorch.org/cppdocs/installing.html, I have
cmake_minimum_required(VERSION 3.0 FATAL_ERROR) project(example-app) find_package(Torch REQUIRED) s