6
6
<!--[if gt IE 8]><!--> < html class ="no-js " lang ="en " > <!--<![endif]-->
7
7
< head >
8
8
< meta charset ="utf-8 ">
9
-
9
+
10
10
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
11
-
11
+
12
12
< title > Automatic differentiation package - torch.autograd — PyTorch master documentation</ title >
13
-
14
13
15
-
16
-
17
-
18
-
14
+
15
+
16
+
17
+
18
+
19
19
< link rel ="canonical " href ="https://pytorch.org/docs/stable/autograd.html "/>
20
-
21
20
22
-
23
21
24
-
25
-
26
-
27
22
28
-
23
+
24
+
25
+
26
+
27
+
28
+
29
29
30
30
< link rel ="stylesheet " href ="_static/css/theme.css " type ="text/css " />
31
31
<!-- <link rel="stylesheet" href="_static/pygments.css" type="text/css" /> -->
36
36
< link rel ="index " title ="Index " href ="genindex.html " />
37
37
< link rel ="search " title ="Search " href ="search.html " />
38
38
< link rel ="next " title ="torch.cuda " href ="cuda.html " />
39
- < link rel ="prev " title ="Tensor Views " href ="tensor_view.html " />
39
+ < link rel ="prev " title ="Tensor Views " href ="tensor_view.html " />
40
+
40
41
41
-
42
42
< script src ="_static/js/modernizr.min.js "> </ script >
43
43
44
44
<!-- Preload the theme fonts -->
140
140
141
141
< body class ="pytorch-body ">
142
142
143
-
144
143
145
-
144
+
145
+
146
146
147
147
< div class ="table-of-contents-link-wrapper ">
148
148
< span > Table of Contents</ span >
153
153
< div class ="pytorch-side-scroll ">
154
154
< div class ="pytorch-menu pytorch-menu-vertical " data-spy ="affix " role ="navigation " aria-label ="main navigation ">
155
155
< div class ="pytorch-left-menu-search ">
156
-
157
156
158
-
159
-
160
-
157
+
158
+
159
+
160
+
161
161
< div class ="version ">
162
162
< a href ='http://pytorch.org/docs/versions.html '> 1.5.1 ▼</ a >
163
163
</ div >
164
-
165
-
166
164
167
-
168
165
169
166
170
-
167
+
168
+
169
+
170
+
171
171
172
172
173
173
< div role ="search ">
178
178
</ form >
179
179
</ div >
180
180
181
-
181
+
182
182
</ div >
183
183
184
-
185
184
186
185
187
-
188
-
189
-
190
-
191
-
186
+
187
+
188
+
189
+
190
+
191
+
192
192
< p class ="caption "> < span class ="caption-text "> Notes</ span > </ p >
193
193
< ul >
194
194
< li class ="toctree-l1 "> < a class ="reference internal " href ="notes/amp_examples.html "> Automatic Mixed Precision examples</ a > </ li >
261
261
< li class ="toctree-l1 "> < a class ="reference internal " href ="community/persons_of_interest.html "> PyTorch Governance | Persons of Interest</ a > </ li >
262
262
</ ul >
263
263
264
-
265
-
264
+
265
+
266
266
267
267
</ div >
268
268
</ div >
271
271
< div class ="pytorch-container ">
272
272
< div class ="pytorch-page-level-bar " id ="pytorch-page-level-bar ">
273
273
< div class ="pytorch-breadcrumbs-wrapper ">
274
-
274
+
275
275
276
276
277
277
290
290
< div role ="navigation " aria-label ="breadcrumbs navigation ">
291
291
292
292
< ul class ="pytorch-breadcrumbs ">
293
-
293
+
294
294
< li >
295
295
< a href ="index.html ">
296
-
296
+
297
297
Docs
298
-
298
+
299
299
</ a > >
300
300
</ li >
301
301
302
-
302
+
303
303
< li > Automatic differentiation package - torch.autograd</ li >
304
-
305
-
304
+
305
+
306
306
< li class ="pytorch-breadcrumbs-aside ">
307
-
308
-
307
+
308
+
309
309
< a href ="_sources/autograd.rst.txt " rel ="nofollow "> < img src ="_static/images/view-page-source-icon.svg "> </ a >
310
-
311
-
310
+
311
+
312
312
</ li >
313
-
313
+
314
314
</ ul >
315
315
316
-
316
+
317
317
</ div >
318
318
</ div >
319
319
325
325
< section data-toggle ="wy-nav-shift " id ="pytorch-content-wrap " class ="pytorch-content-wrap ">
326
326
< div class ="pytorch-content-left ">
327
327
328
-
329
-
328
+
329
+
330
330
< div class ="rst-content ">
331
-
331
+
332
332
< div role ="main " class ="main-content " itemscope ="itemscope " itemtype ="http://schema.org/Article ">
333
333
< article itemprop ="articleBody " id ="pytorch-article " class ="pytorch-article ">
334
-
334
+
335
335
< div class ="section " id ="module-torch.autograd ">
336
336
< span id ="automatic-differentiation-package-torch-autograd "> </ span > < h1 > Automatic differentiation package - torch.autograd< a class ="headerlink " href ="#module-torch.autograd " title ="Permalink to this headline "> ¶</ a > </ h1 >
337
337
< p > < code class ="docutils literal notranslate "> < span class ="pre "> torch.autograd</ span > </ code > provides classes and functions implementing automatic
415
415
< span id ="functional-api "> </ span > < h2 > Functional higher level API< a class ="headerlink " href ="#functional-higher-level-api " title ="Permalink to this headline "> ¶</ a > </ h2 >
416
416
< div class ="admonition warning ">
417
417
< p class ="admonition-title "> Warning</ p >
418
- < p > This API is experimental .</ p >
418
+ < p > This API is in beta .</ p >
419
419
</ div >
420
420
< p > This section contains the higher level API for the autograd that builds on the basic API above
421
421
and allows you to compute jacobians, hessians, etc.</ p >
@@ -1678,37 +1678,37 @@ <h2>Anomaly detection<a class="headerlink" href="#anomaly-detection" title="Perm
1678
1678
1679
1679
1680
1680
</ article >
1681
-
1681
+
1682
1682
</ div >
1683
1683
< footer >
1684
-
1684
+
1685
1685
< div class ="rst-footer-buttons " role ="navigation " aria-label ="footer navigation ">
1686
-
1686
+
1687
1687
< a href ="cuda.html " class ="btn btn-neutral float-right " title ="torch.cuda " accesskey ="n " rel ="next "> Next < img src ="_static/images/chevron-right-orange.svg " class ="next-page "> </ a >
1688
-
1689
-
1688
+
1689
+
1690
1690
< a href ="tensor_view.html " class ="btn btn-neutral " title ="Tensor Views " accesskey ="p " rel ="prev "> < img src ="_static/images/chevron-right-orange.svg " class ="previous-page "> Previous</ a >
1691
-
1691
+
1692
1692
</ div >
1693
-
1694
1693
1695
-
1694
+
1695
+
1696
1696
1697
1697
< hr >
1698
1698
1699
-
1699
+
1700
1700
1701
1701
< div role ="contentinfo ">
1702
1702
< p >
1703
1703
© Copyright 2019, Torch Contributors.
1704
1704
1705
1705
</ p >
1706
1706
</ div >
1707
-
1707
+
1708
1708
< div >
1709
1709
Built with < a href ="http://sphinx-doc.org/ "> Sphinx</ a > using a < a href ="https://github.com/rtfd/sphinx_rtd_theme "> theme</ a > provided by < a href ="https://readthedocs.org "> Read the Docs</ a > .
1710
1710
</ div >
1711
-
1711
+
1712
1712
1713
1713
</ footer >
1714
1714
@@ -1743,20 +1743,20 @@ <h2>Anomaly detection<a class="headerlink" href="#anomaly-detection" title="Perm
1743
1743
</ section >
1744
1744
</ div >
1745
1745
1746
-
1747
1746
1748
1747
1749
-
1750
1748
1751
-
1749
+
1750
+
1751
+
1752
1752
< script type ="text/javascript " id ="documentation_options " data-url_root ="./ " src ="_static/documentation_options.js "> </ script >
1753
1753
< script src ="_static/jquery.js "> </ script >
1754
1754
< script src ="_static/underscore.js "> </ script >
1755
1755
< script src ="_static/doctools.js "> </ script >
1756
1756
< script src ="_static/language_data.js "> </ script >
1757
-
1758
1757
1759
-
1758
+
1759
+
1760
1760
1761
1761
< script type ="text/javascript " src ="_static/js/vendor/popper.min.js "> </ script >
1762
1762
< script type ="text/javascript " src ="_static/js/vendor/bootstrap.min.js "> </ script >
@@ -1768,7 +1768,7 @@ <h2>Anomaly detection<a class="headerlink" href="#anomaly-detection" title="Perm
1768
1768
SphinxRtdTheme . Navigation . enable ( true ) ;
1769
1769
} ) ;
1770
1770
</ script >
1771
-
1771
+
1772
1772
< script >
1773
1773
( function ( i , s , o , g , r , a , m ) { i [ 'GoogleAnalyticsObject' ] = r ; i [ r ] = i [ r ] || function ( ) {
1774
1774
( i [ r ] . q = i [ r ] . q || [ ] ) . push ( arguments ) } , i [ r ] . l = 1 * new Date ( ) ; a = s . createElement ( o ) ,
@@ -1985,4 +1985,4 @@ <h2>Resources</h2>
1985
1985
} )
1986
1986
</ script >
1987
1987
</ body >
1988
- </ html >
1988
+ </ html >
0 commit comments