Thank you.
By the way, My destination is a little different, I intend to write and debug the C code which can be directly imported into the pytorch code.
As the API of libtorch is different, I can’t directly use it to write C code.
So is there any suggestion about how should I write CMakeList to debug the pytorch cpp extension.