Skip to content

Commit

Permalink
Docs for example 5
Browse files Browse the repository at this point in the history
  • Loading branch information
jwallwork23 committed Jul 23, 2024
1 parent cf9a006 commit b8b4840
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
4 changes: 2 additions & 2 deletions examples/5_Autograd/README.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Example 5 - Autograd

This example will demonstrate automatic differentation in FTorch by leveraging
PyTorch's Autograd module.
**This example is currently under development.** Eventually, it will demonstrate
automatic differentation in FTorch by leveraging PyTorch's Autograd module.

By exposing Autograd in Fortran, FTorch will be able to compute derivatives of
expressions involving `torch_tensor`s.
Expand Down
7 changes: 7 additions & 0 deletions pages/examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -186,3 +186,10 @@ data to multiple GPU devices.
[This worked example](https://github.com/Cambridge-ICCS/FTorch/tree/main/examples/4_MultiIO)
considers a variant of the SimpleNet demo, which demonstrates how to account for
multiple input tensors and multiple output tensors.

#### 5) Autograd

[This worked example](https://github.com/Cambridge-ICCS/FTorch/tree/main/examples/5_Autograd)
is currently under development. Eventually, it will demonstrate how to perform
automatic differentiation in FTorch by leveraging PyTorch's Autograd module.
Currently, it just demonstrates how to use `torch_tensor_to_array`.

0 comments on commit b8b4840

Please sign in to comment.