Skip to content

Commit b286a10

Browse files
committed
Generate Python docs from pytorch/pytorch@5c7f453
1 parent 0b75f1c commit b286a10

File tree

2,160 files changed

+29350
-3408
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

2,160 files changed

+29350
-3408
lines changed

docs/master/_dynamo.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@
237237
<div class="pytorch-left-menu-search">
238238

239239
<div class="version">
240-
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git264c896 ) &#x25BC</a>
240+
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git5c7f453 ) &#x25BC</a>
241241
</div>
242242

243243

@@ -459,6 +459,7 @@
459459
<div class="pytorch-content-left">
460460

461461

462+
462463

463464
<div class="rst-content">
464465

@@ -653,6 +654,17 @@
653654
</footer>
654655

655656
</div>
657+
<script>
658+
659+
var match = window.location.href.match(/\/_[a-zA-Z0-9_]*.html|_dynamo/gi);
660+
var url = window.location.href.lastIndexOf(match[match.length-1]);
661+
662+
if (url)
663+
{
664+
var div = '<div class="admonition note"><p class="admonition-title">Note</p><p><i class="fa fa-exclamation-circle" aria-hidden="true">&nbsp</i> This page describes an internal API which is not intended to be used outside of the PyTorch codebase and can be modified or removed without notice.</p></div>'
665+
document.getElementById("pytorch-article").insertAdjacentHTML('afterBegin', div)
666+
}
667+
</script>
656668
</div>
657669

658670
<div class="pytorch-content-right" id="pytorch-content-right">

docs/master/_images/RReLU.png

41 Bytes
Loading

docs/master/_modules/index.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
<div class="pytorch-left-menu-search">
236236

237237
<div class="version">
238-
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git264c896 ) &#x25BC</a>
238+
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git5c7f453 ) &#x25BC</a>
239239
</div>
240240

241241

@@ -453,6 +453,7 @@
453453
<div class="pytorch-content-left">
454454

455455

456+
456457

457458
<div class="rst-content">
458459

@@ -778,6 +779,17 @@ <h1>All modules for which code is available</h1>
778779
</footer>
779780

780781
</div>
782+
<script>
783+
784+
var match = window.location.href.match(/\/_[a-zA-Z0-9_]*.html|_dynamo/gi);
785+
var url = window.location.href.lastIndexOf(match[match.length-1]);
786+
787+
if (url)
788+
{
789+
var div = '<div class="admonition note"><p class="admonition-title">Note</p><p><i class="fa fa-exclamation-circle" aria-hidden="true">&nbsp</i> This page describes an internal API which is not intended to be used outside of the PyTorch codebase and can be modified or removed without notice.</p></div>'
790+
document.getElementById("pytorch-article").insertAdjacentHTML('afterBegin', div)
791+
}
792+
</script>
781793
</div>
782794

783795
<div class="pytorch-content-right" id="pytorch-content-right">

docs/master/_modules/torch.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
<div class="pytorch-left-menu-search">
236236

237237
<div class="version">
238-
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git264c896 ) &#x25BC</a>
238+
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git5c7f453 ) &#x25BC</a>
239239
</div>
240240

241241

@@ -455,6 +455,7 @@
455455
<div class="pytorch-content-left">
456456

457457

458+
458459

459460
<div class="rst-content">
460461

@@ -1957,6 +1958,17 @@ <h1>Source code for torch</h1><div class="highlight"><pre>
19571958
</footer>
19581959

19591960
</div>
1961+
<script>
1962+
1963+
var match = window.location.href.match(/\/_[a-zA-Z0-9_]*.html|_dynamo/gi);
1964+
var url = window.location.href.lastIndexOf(match[match.length-1]);
1965+
1966+
if (url)
1967+
{
1968+
var div = '<div class="admonition note"><p class="admonition-title">Note</p><p><i class="fa fa-exclamation-circle" aria-hidden="true">&nbsp</i> This page describes an internal API which is not intended to be used outside of the PyTorch codebase and can be modified or removed without notice.</p></div>'
1969+
document.getElementById("pytorch-article").insertAdjacentHTML('afterBegin', div)
1970+
}
1971+
</script>
19601972
</div>
19611973

19621974
<div class="pytorch-content-right" id="pytorch-content-right">

docs/master/_modules/torch/__config__.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
<div class="pytorch-left-menu-search">
236236

237237
<div class="version">
238-
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git264c896 ) &#x25BC</a>
238+
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git5c7f453 ) &#x25BC</a>
239239
</div>
240240

241241

@@ -457,6 +457,7 @@
457457
<div class="pytorch-content-left">
458458

459459

460+
460461

461462
<div class="rst-content">
462463

@@ -515,6 +516,17 @@ <h1>Source code for torch.__config__</h1><div class="highlight"><pre>
515516
</footer>
516517

517518
</div>
519+
<script>
520+
521+
var match = window.location.href.match(/\/_[a-zA-Z0-9_]*.html|_dynamo/gi);
522+
var url = window.location.href.lastIndexOf(match[match.length-1]);
523+
524+
if (url)
525+
{
526+
var div = '<div class="admonition note"><p class="admonition-title">Note</p><p><i class="fa fa-exclamation-circle" aria-hidden="true">&nbsp</i> This page describes an internal API which is not intended to be used outside of the PyTorch codebase and can be modified or removed without notice.</p></div>'
527+
document.getElementById("pytorch-article").insertAdjacentHTML('afterBegin', div)
528+
}
529+
</script>
518530
</div>
519531

520532
<div class="pytorch-content-right" id="pytorch-content-right">

docs/master/_modules/torch/_dynamo.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
<div class="pytorch-left-menu-search">
236236

237237
<div class="version">
238-
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git264c896 ) &#x25BC</a>
238+
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git5c7f453 ) &#x25BC</a>
239239
</div>
240240

241241

@@ -457,6 +457,7 @@
457457
<div class="pytorch-content-left">
458458

459459

460+
460461

461462
<div class="rst-content">
462463

@@ -607,6 +608,17 @@ <h1>Source code for torch._dynamo</h1><div class="highlight"><pre>
607608
</footer>
608609

609610
</div>
611+
<script>
612+
613+
var match = window.location.href.match(/\/_[a-zA-Z0-9_]*.html|_dynamo/gi);
614+
var url = window.location.href.lastIndexOf(match[match.length-1]);
615+
616+
if (url)
617+
{
618+
var div = '<div class="admonition note"><p class="admonition-title">Note</p><p><i class="fa fa-exclamation-circle" aria-hidden="true">&nbsp</i> This page describes an internal API which is not intended to be used outside of the PyTorch codebase and can be modified or removed without notice.</p></div>'
619+
document.getElementById("pytorch-article").insertAdjacentHTML('afterBegin', div)
620+
}
621+
</script>
610622
</div>
611623

612624
<div class="pytorch-content-right" id="pytorch-content-right">

docs/master/_modules/torch/_dynamo/backends/registry.html

Lines changed: 15 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
<div class="pytorch-left-menu-search">
236236

237237
<div class="version">
238-
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git264c896 ) &#x25BC</a>
238+
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git5c7f453 ) &#x25BC</a>
239239
</div>
240240

241241

@@ -459,6 +459,7 @@
459459
<div class="pytorch-content-left">
460460

461461

462+
462463

463464
<div class="rst-content">
464465

@@ -538,14 +539,9 @@ <h1>Source code for torch._dynamo.backends.registry</h1><div class="highlight"><
538539

539540
<span class="n">import_submodule</span><span class="p">(</span><span class="n">backends</span><span class="p">)</span>
540541

541-
<span class="c1"># TODO(jansel): refactor backends defined in other places</span>
542-
<span class="kn">from</span> <span class="nn">..</span> <span class="kn">import</span> <span class="n">debug_utils</span>
543-
<span class="kn">from</span> <span class="nn">..optimizations</span> <span class="kn">import</span> <span class="n">backends</span><span class="p">,</span> <span class="n">training</span>
542+
<span class="kn">from</span> <span class="nn">..debug_utils</span> <span class="kn">import</span> <span class="n">dynamo_minifier_backend</span>
544543

545-
<span class="n">training</span><span class="o">.</span><span class="n">create_aot_backends</span><span class="p">()</span>
546-
<span class="c1"># avoid unused import lint</span>
547-
<span class="k">assert</span> <span class="n">backends</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span>
548-
<span class="k">assert</span> <span class="n">debug_utils</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span>
544+
<span class="k">assert</span> <span class="n">dynamo_minifier_backend</span> <span class="ow">is</span> <span class="ow">not</span> <span class="kc">None</span>
549545
</pre></div>
550546

551547
</article>
@@ -575,6 +571,17 @@ <h1>Source code for torch._dynamo.backends.registry</h1><div class="highlight"><
575571
</footer>
576572

577573
</div>
574+
<script>
575+
576+
var match = window.location.href.match(/\/_[a-zA-Z0-9_]*.html|_dynamo/gi);
577+
var url = window.location.href.lastIndexOf(match[match.length-1]);
578+
579+
if (url)
580+
{
581+
var div = '<div class="admonition note"><p class="admonition-title">Note</p><p><i class="fa fa-exclamation-circle" aria-hidden="true">&nbsp</i> This page describes an internal API which is not intended to be used outside of the PyTorch codebase and can be modified or removed without notice.</p></div>'
582+
document.getElementById("pytorch-article").insertAdjacentHTML('afterBegin', div)
583+
}
584+
</script>
578585
</div>
579586

580587
<div class="pytorch-content-right" id="pytorch-content-right">

docs/master/_modules/torch/_dynamo/eval_frame.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
<div class="pytorch-left-menu-search">
236236

237237
<div class="version">
238-
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git264c896 ) &#x25BC</a>
238+
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git5c7f453 ) &#x25BC</a>
239239
</div>
240240

241241

@@ -459,6 +459,7 @@
459459
<div class="pytorch-content-left">
460460

461461

462+
462463

463464
<div class="rst-content">
464465

@@ -1294,6 +1295,17 @@ <h1>Source code for torch._dynamo.eval_frame</h1><div class="highlight"><pre>
12941295
</footer>
12951296

12961297
</div>
1298+
<script>
1299+
1300+
var match = window.location.href.match(/\/_[a-zA-Z0-9_]*.html|_dynamo/gi);
1301+
var url = window.location.href.lastIndexOf(match[match.length-1]);
1302+
1303+
if (url)
1304+
{
1305+
var div = '<div class="admonition note"><p class="admonition-title">Note</p><p><i class="fa fa-exclamation-circle" aria-hidden="true">&nbsp</i> This page describes an internal API which is not intended to be used outside of the PyTorch codebase and can be modified or removed without notice.</p></div>'
1306+
document.getElementById("pytorch-article").insertAdjacentHTML('afterBegin', div)
1307+
}
1308+
</script>
12971309
</div>
12981310

12991311
<div class="pytorch-content-right" id="pytorch-content-right">

docs/master/_modules/torch/_jit_internal.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
<div class="pytorch-left-menu-search">
236236

237237
<div class="version">
238-
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git264c896 ) &#x25BC</a>
238+
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git5c7f453 ) &#x25BC</a>
239239
</div>
240240

241241

@@ -457,6 +457,7 @@
457457
<div class="pytorch-content-left">
458458

459459

460+
460461

461462
<div class="rst-content">
462463

@@ -1930,6 +1931,17 @@ <h1>Source code for torch._jit_internal</h1><div class="highlight"><pre>
19301931
</footer>
19311932

19321933
</div>
1934+
<script>
1935+
1936+
var match = window.location.href.match(/\/_[a-zA-Z0-9_]*.html|_dynamo/gi);
1937+
var url = window.location.href.lastIndexOf(match[match.length-1]);
1938+
1939+
if (url)
1940+
{
1941+
var div = '<div class="admonition note"><p class="admonition-title">Note</p><p><i class="fa fa-exclamation-circle" aria-hidden="true">&nbsp</i> This page describes an internal API which is not intended to be used outside of the PyTorch codebase and can be modified or removed without notice.</p></div>'
1942+
document.getElementById("pytorch-article").insertAdjacentHTML('afterBegin', div)
1943+
}
1944+
</script>
19331945
</div>
19341946

19351947
<div class="pytorch-content-right" id="pytorch-content-right">

docs/master/_modules/torch/_lobpcg.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
<div class="pytorch-left-menu-search">
236236

237237
<div class="version">
238-
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git264c896 ) &#x25BC</a>
238+
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git5c7f453 ) &#x25BC</a>
239239
</div>
240240

241241

@@ -457,6 +457,7 @@
457457
<div class="pytorch-content-left">
458458

459459

460+
460461

461462
<div class="rst-content">
462463

@@ -1668,6 +1669,17 @@ <h1>Source code for torch._lobpcg</h1><div class="highlight"><pre>
16681669
</footer>
16691670

16701671
</div>
1672+
<script>
1673+
1674+
var match = window.location.href.match(/\/_[a-zA-Z0-9_]*.html|_dynamo/gi);
1675+
var url = window.location.href.lastIndexOf(match[match.length-1]);
1676+
1677+
if (url)
1678+
{
1679+
var div = '<div class="admonition note"><p class="admonition-title">Note</p><p><i class="fa fa-exclamation-circle" aria-hidden="true">&nbsp</i> This page describes an internal API which is not intended to be used outside of the PyTorch codebase and can be modified or removed without notice.</p></div>'
1680+
document.getElementById("pytorch-article").insertAdjacentHTML('afterBegin', div)
1681+
}
1682+
</script>
16711683
</div>
16721684

16731685
<div class="pytorch-content-right" id="pytorch-content-right">

docs/master/_modules/torch/_lowrank.html

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -235,7 +235,7 @@
235235
<div class="pytorch-left-menu-search">
236236

237237
<div class="version">
238-
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git264c896 ) &#x25BC</a>
238+
<a href='https://pytorch.org/docs/versions.html'>master (2.0.0a0+git5c7f453 ) &#x25BC</a>
239239
</div>
240240

241241

@@ -457,6 +457,7 @@
457457
<div class="pytorch-content-left">
458458

459459

460+
460461

461462
<div class="rst-content">
462463

@@ -792,6 +793,17 @@ <h1>Source code for torch._lowrank</h1><div class="highlight"><pre>
792793
</footer>
793794

794795
</div>
796+
<script>
797+
798+
var match = window.location.href.match(/\/_[a-zA-Z0-9_]*.html|_dynamo/gi);
799+
var url = window.location.href.lastIndexOf(match[match.length-1]);
800+
801+
if (url)
802+
{
803+
var div = '<div class="admonition note"><p class="admonition-title">Note</p><p><i class="fa fa-exclamation-circle" aria-hidden="true">&nbsp</i> This page describes an internal API which is not intended to be used outside of the PyTorch codebase and can be modified or removed without notice.</p></div>'
804+
document.getElementById("pytorch-article").insertAdjacentHTML('afterBegin', div)
805+
}
806+
</script>
795807
</div>
796808

797809
<div class="pytorch-content-right" id="pytorch-content-right">

0 commit comments

Comments
 (0)