File tree Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Expand file tree Collapse file tree 2 files changed +16
-2
lines changed Original file line number Diff line number Diff line change @@ -387,6 +387,13 @@ Welcome to PyTorch Tutorials
387
387
:link: intermediate/custom_function_conv_bn_tutorial.html
388
388
:tags: Extending-PyTorch,Frontend-APIs
389
389
390
+ .. customcarditem ::
391
+ :header: Forward-mode Automatic Differentiation
392
+ :card_description: Learn how to use forward-mode automatic differentiation
393
+ :image: _static/img/thumbnails/cropped/generic-pytorch-logo.PNG
394
+ :link: intermediate/forward_ad_usage.html
395
+ :tags: Frontend-APIs
396
+
390
397
.. Model Optimization
391
398
392
399
.. customcarditem ::
@@ -746,6 +753,7 @@ Additional Resources
746
753
:caption: Frontend APIs
747
754
748
755
intermediate/memory_format_tutorial
756
+ intermediate/forward_ad_usage
749
757
advanced/cpp_frontend
750
758
advanced/torch-script-parallelism
751
759
advanced/cpp_autograd
Original file line number Diff line number Diff line change 1
1
# -*- coding: utf-8 -*-
2
2
"""
3
- Forward-mode Automatic Differentiation
4
- ======================================
3
+ Forward-mode Automatic Differentiation (Beta)
4
+ =============================================
5
5
6
6
This tutorial demonstrates how to use forward-mode AD to compute
7
7
directional derivatives (or equivalently, Jacobian-vector products).
8
8
9
+ The tutorial below uses some APIs only available in versions >= 1.11
10
+ (or nightly builds).
11
+
12
+ Also note that forward-mode AD is currently in beta. The API is
13
+ subject to change and operator coverage is still incomplete.
14
+
9
15
Basic Usage
10
16
--------------------------------------------------------------------
11
17
Unlike reverse-mode AD, forward-mode AD computes gradients eagerly
You can’t perform that action at this time.
0 commit comments