src from document: https://github.com/pytorch/examples/tree/master/cpp
use cmake and vscode to build the executable file.
just change the autograd.cpp to run the file
use vscode to open the AUTOGRAD dirctory and press the F5 to run the file(if you just done the vscode pre work).
show attention to the vscode .vscode dir.
...build$ ./autograd