Cambridge-ICCS / FTorch

A library for directly calling PyTorch ML models from Fortran.
https://cambridge-iccs.github.io/FTorch/
MIT License
79 stars 16 forks source link

Implement `torch_tensor_backward` #152

Open jwallwork23 opened 5 months ago

jwallwork23 commented 5 months ago

Related to #111.

This will be needed to complete the autograd example in #139. Probably best to do this after that PR is merged, otherwise it will become unwieldy.