Hi,
You can check the Do Jetson Xavier support PyTorch C++ API? - #3 by AastaLLL for details.
There are some examples in the topic.
C++ pyTorch is supported for JetPack4.3
But please make sure you have installed the correct package which is built for JetPack4.3.
Thanks.