-
simple_ad.py: a simple auto differentiation code using Pytorch
-
simple_lr.py: a simple linear regression code using Pytorch module
-
fluidsim.py: a fluid simulation using auto differentiation to optimize its velocity model.
-
sin.py: sin(x) and its gradient verification as cos(x). An example from the Julia paper: A differentiable programming system...
- Add
.gitignore
to this project. - Fix the bug in
/fwi_dl/Wave1D_AGfunc.py
, this bug causes the script could not run on GPU device.