Skip to content

Commit e7fbba0

Browse files
committed
Generate Python docs from pytorch/pytorch@9a0b7b4
1 parent 42783f0 commit e7fbba0

File tree

1,948 files changed

+4308
-29581
lines changed

Some content is hidden

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

1,948 files changed

+4308
-29581
lines changed

docs/master/.buildinfo

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: faaee86bf469c6c31baba268c5e3e14b
3+
config: 144e5e9de2aacff9fc1802e57ec0507d
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

docs/master/_images/RReLU.png

130 Bytes
Loading

docs/master/_modules/index.html

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1212

13-
<title>Overview: module code &mdash; PyTorch master documentation</title>
13+
<title>Overview: module code &mdash; PyTorch 1.12 documentation</title>
1414

1515

1616

@@ -40,12 +40,6 @@
4040
<link rel="index" title="Index" href="../genindex.html" />
4141
<link rel="search" title="Search" href="../search.html" />
4242

43-
<!--
44-
Search engines should not index the master version of documentation.
45-
Stable documentation are built without release == 'master'.
46-
-->
47-
<meta name="robots" content="noindex">
48-
4943

5044
<!-- Google Analytics -->
5145

@@ -213,7 +207,7 @@
213207
<div class="pytorch-left-menu-search">
214208

215209
<div class="version">
216-
<a href='https://pytorch.org/docs/versions.html'>master (1.12.0a0+gitb68f227 ) &#x25BC</a>
210+
<a href='https://pytorch.org/docs/versions.html'>1.12 &#x25BC</a>
217211
</div>
218212

219213

@@ -233,13 +227,6 @@
233227

234228

235229

236-
<div>
237-
<a style="color:#F05732" href="https://pytorch.org/docs/stable/_modules/index.html">
238-
You are viewing unstable developer preview docs.
239-
Click here to view docs for latest stable release.
240-
</a>
241-
</div>
242-
243230

244231

245232

docs/master/_modules/torch.html

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1212

13-
<title>torch &mdash; PyTorch master documentation</title>
13+
<title>torch &mdash; PyTorch 1.12 documentation</title>
1414

1515

1616

@@ -40,12 +40,6 @@
4040
<link rel="index" title="Index" href="../genindex.html" />
4141
<link rel="search" title="Search" href="../search.html" />
4242

43-
<!--
44-
Search engines should not index the master version of documentation.
45-
Stable documentation are built without release == 'master'.
46-
-->
47-
<meta name="robots" content="noindex">
48-
4943

5044
<!-- Google Analytics -->
5145

@@ -213,7 +207,7 @@
213207
<div class="pytorch-left-menu-search">
214208

215209
<div class="version">
216-
<a href='https://pytorch.org/docs/versions.html'>master (1.12.0a0+gitb68f227 ) &#x25BC</a>
210+
<a href='https://pytorch.org/docs/versions.html'>1.12 &#x25BC</a>
217211
</div>
218212

219213

@@ -233,13 +227,6 @@
233227

234228

235229

236-
<div>
237-
<a style="color:#F05732" href="https://pytorch.org/docs/stable/_modules/torch.html">
238-
You are viewing unstable developer preview docs.
239-
Click here to view docs for latest stable release.
240-
</a>
241-
</div>
242-
243230

244231

245232

docs/master/_modules/torch/__config__.html

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1212

13-
<title>torch.__config__ &mdash; PyTorch master documentation</title>
13+
<title>torch.__config__ &mdash; PyTorch 1.12 documentation</title>
1414

1515

1616

@@ -40,12 +40,6 @@
4040
<link rel="index" title="Index" href="../../genindex.html" />
4141
<link rel="search" title="Search" href="../../search.html" />
4242

43-
<!--
44-
Search engines should not index the master version of documentation.
45-
Stable documentation are built without release == 'master'.
46-
-->
47-
<meta name="robots" content="noindex">
48-
4943

5044
<!-- Google Analytics -->
5145

@@ -213,7 +207,7 @@
213207
<div class="pytorch-left-menu-search">
214208

215209
<div class="version">
216-
<a href='https://pytorch.org/docs/versions.html'>master (1.12.0a0+gitb68f227 ) &#x25BC</a>
210+
<a href='https://pytorch.org/docs/versions.html'>1.12 &#x25BC</a>
217211
</div>
218212

219213

@@ -233,13 +227,6 @@
233227

234228

235229

236-
<div>
237-
<a style="color:#F05732" href="https://pytorch.org/docs/stable/_modules/torch/__config__.html">
238-
You are viewing unstable developer preview docs.
239-
Click here to view docs for latest stable release.
240-
</a>
241-
</div>
242-
243230

244231

245232

docs/master/_modules/torch/_jit_internal.html

Lines changed: 10 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1212

13-
<title>torch._jit_internal &mdash; PyTorch master documentation</title>
13+
<title>torch._jit_internal &mdash; PyTorch 1.12 documentation</title>
1414

1515

1616

@@ -40,12 +40,6 @@
4040
<link rel="index" title="Index" href="../../genindex.html" />
4141
<link rel="search" title="Search" href="../../search.html" />
4242

43-
<!--
44-
Search engines should not index the master version of documentation.
45-
Stable documentation are built without release == 'master'.
46-
-->
47-
<meta name="robots" content="noindex">
48-
4943

5044
<!-- Google Analytics -->
5145

@@ -213,7 +207,7 @@
213207
<div class="pytorch-left-menu-search">
214208

215209
<div class="version">
216-
<a href='https://pytorch.org/docs/versions.html'>master (1.12.0a0+gitb68f227 ) &#x25BC</a>
210+
<a href='https://pytorch.org/docs/versions.html'>1.12 &#x25BC</a>
217211
</div>
218212

219213

@@ -233,13 +227,6 @@
233227

234228

235229

236-
<div>
237-
<a style="color:#F05732" href="https://pytorch.org/docs/stable/_modules/torch/_jit_internal.html">
238-
You are viewing unstable developer preview docs.
239-
Click here to view docs for latest stable release.
240-
</a>
241-
</div>
242-
243230

244231

245232

@@ -879,7 +866,7 @@ <h1>Source code for torch._jit_internal</h1><div class="highlight"><pre>
879866
<span class="s2">&quot;if this method is not scripted, copy the python method onto the scripted model&quot;</span>
880867

881868

882-
<div class="viewcode-block" id="export"><a class="viewcode-back" href="../../jit.html#torch.jit.export">[docs]</a><span class="k">def</span> <span class="nf">export</span><span class="p">(</span><span class="n">fn</span><span class="p">):</span>
869+
<span class="k">def</span> <span class="nf">export</span><span class="p">(</span><span class="n">fn</span><span class="p">):</span>
883870
<span class="sd">&quot;&quot;&quot;</span>
884871
<span class="sd"> This decorator indicates that a method on an ``nn.Module`` is used as an entry point into a</span>
885872
<span class="sd"> :class:`ScriptModule` and should be compiled.</span>
@@ -922,10 +909,10 @@ <h1>Source code for torch._jit_internal</h1><div class="highlight"><pre>
922909
<span class="sd"> m = torch.jit.script(MyModule())</span>
923910
<span class="sd"> &quot;&quot;&quot;</span>
924911
<span class="n">fn</span><span class="o">.</span><span class="n">_torchscript_modifier</span> <span class="o">=</span> <span class="n">FunctionModifiers</span><span class="o">.</span><span class="n">EXPORT</span>
925-
<span class="k">return</span> <span class="n">fn</span></div>
912+
<span class="k">return</span> <span class="n">fn</span>
926913

927914

928-
<span class="k">def</span> <span class="nf">unused</span><span class="p">(</span><span class="n">fn</span><span class="p">):</span>
915+
<div class="viewcode-block" id="unused"><a class="viewcode-back" href="../../generated/torch.jit.unused.html#torch.jit.unused">[docs]</a><span class="k">def</span> <span class="nf">unused</span><span class="p">(</span><span class="n">fn</span><span class="p">):</span>
929916
<span class="sd">&quot;&quot;&quot;</span>
930917
<span class="sd"> This decorator indicates to the compiler that a function or method should</span>
931918
<span class="sd"> be ignored and replaced with the raising of an exception. This allows you</span>
@@ -972,7 +959,7 @@ <h1>Source code for torch._jit_internal</h1><div class="highlight"><pre>
972959
<span class="k">return</span> <span class="n">prop</span>
973960

974961
<span class="n">fn</span><span class="o">.</span><span class="n">_torchscript_modifier</span> <span class="o">=</span> <span class="n">FunctionModifiers</span><span class="o">.</span><span class="n">UNUSED</span>
975-
<span class="k">return</span> <span class="n">fn</span>
962+
<span class="k">return</span> <span class="n">fn</span></div>
976963

977964
<span class="c1"># No op context manager from python side</span>
978965
<span class="k">class</span> <span class="nc">_IgnoreContextManager</span><span class="p">(</span><span class="n">contextlib</span><span class="o">.</span><span class="n">AbstractContextManager</span><span class="p">):</span>
@@ -982,7 +969,7 @@ <h1>Source code for torch._jit_internal</h1><div class="highlight"><pre>
982969
<span class="k">def</span> <span class="fm">__exit__</span><span class="p">(</span><span class="bp">self</span><span class="p">,</span> <span class="n">exc_type</span><span class="p">:</span> <span class="n">Any</span><span class="p">,</span> <span class="n">exc_value</span><span class="p">:</span> <span class="n">Any</span><span class="p">,</span> <span class="n">traceback</span><span class="p">:</span> <span class="n">Any</span><span class="p">)</span> <span class="o">-&gt;</span> <span class="kc">None</span><span class="p">:</span>
983970
<span class="k">pass</span>
984971

985-
<span class="k">def</span> <span class="nf">ignore</span><span class="p">(</span><span class="n">drop</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>
972+
<div class="viewcode-block" id="ignore"><a class="viewcode-back" href="../../generated/torch.jit.ignore.html#torch.jit.ignore">[docs]</a><span class="k">def</span> <span class="nf">ignore</span><span class="p">(</span><span class="n">drop</span><span class="o">=</span><span class="kc">False</span><span class="p">,</span> <span class="o">**</span><span class="n">kwargs</span><span class="p">):</span>
986973
<span class="sd">&quot;&quot;&quot;</span>
987974
<span class="sd"> This decorator indicates to the compiler that a function or method should</span>
988975
<span class="sd"> be ignored and left as a Python function. This allows you to leave code in</span>
@@ -1073,7 +1060,7 @@ <h1>Source code for torch._jit_internal</h1><div class="highlight"><pre>
10731060
<span class="k">else</span><span class="p">:</span>
10741061
<span class="n">fn</span><span class="o">.</span><span class="n">_torchscript_modifier</span> <span class="o">=</span> <span class="n">FunctionModifiers</span><span class="o">.</span><span class="n">IGNORE</span>
10751062
<span class="k">return</span> <span class="n">fn</span>
1076-
<span class="k">return</span> <span class="n">decorator</span>
1063+
<span class="k">return</span> <span class="n">decorator</span></div>
10771064

10781065

10791066
<span class="k">def</span> <span class="nf">_copy_to_script_wrapper</span><span class="p">(</span><span class="n">fn</span><span class="p">):</span>
@@ -1371,7 +1358,7 @@ <h1>Source code for torch._jit_internal</h1><div class="highlight"><pre>
13711358
<span class="nb">globals</span><span class="p">()[</span><span class="sa">f</span><span class="s2">&quot;BroadcastingList</span><span class="si">{</span><span class="n">i</span><span class="si">}</span><span class="s2">&quot;</span><span class="p">]</span> <span class="o">=</span> <span class="n">BroadcastingList1</span>
13721359

13731360

1374-
<div class="viewcode-block" id="is_scripting"><a class="viewcode-back" href="../../jit_language_reference.html#torch.jit.is_scripting">[docs]</a><span class="k">def</span> <span class="nf">is_scripting</span><span class="p">()</span> <span class="o">-&gt;</span> <span class="nb">bool</span><span class="p">:</span>
1361+
<span class="k">def</span> <span class="nf">is_scripting</span><span class="p">()</span> <span class="o">-&gt;</span> <span class="nb">bool</span><span class="p">:</span>
13751362
<span class="sa">r</span><span class="sd">&quot;&quot;&quot;</span>
13761363
<span class="sd"> Function that returns True when in compilation and False otherwise. This</span>
13771364
<span class="sd"> is useful especially with the @unused decorator to leave code in your</span>
@@ -1390,7 +1377,7 @@ <h1>Source code for torch._jit_internal</h1><div class="highlight"><pre>
13901377
<span class="sd"> else:</span>
13911378
<span class="sd"> return unsupported_linear_op(x)</span>
13921379
<span class="sd"> &quot;&quot;&quot;</span>
1393-
<span class="k">return</span> <span class="kc">False</span></div>
1380+
<span class="k">return</span> <span class="kc">False</span>
13941381

13951382

13961383
<span class="c1"># Retrieves a fully-qualified name (module hierarchy + classname) for a given obj.</span>

docs/master/_modules/torch/_lobpcg.html

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1212

13-
<title>torch._lobpcg &mdash; PyTorch master documentation</title>
13+
<title>torch._lobpcg &mdash; PyTorch 1.12 documentation</title>
1414

1515

1616

@@ -40,12 +40,6 @@
4040
<link rel="index" title="Index" href="../../genindex.html" />
4141
<link rel="search" title="Search" href="../../search.html" />
4242

43-
<!--
44-
Search engines should not index the master version of documentation.
45-
Stable documentation are built without release == 'master'.
46-
-->
47-
<meta name="robots" content="noindex">
48-
4943

5044
<!-- Google Analytics -->
5145

@@ -213,7 +207,7 @@
213207
<div class="pytorch-left-menu-search">
214208

215209
<div class="version">
216-
<a href='https://pytorch.org/docs/versions.html'>master (1.12.0a0+gitb68f227 ) &#x25BC</a>
210+
<a href='https://pytorch.org/docs/versions.html'>1.12 &#x25BC</a>
217211
</div>
218212

219213

@@ -233,13 +227,6 @@
233227

234228

235229

236-
<div>
237-
<a style="color:#F05732" href="https://pytorch.org/docs/stable/_modules/torch/_lobpcg.html">
238-
You are viewing unstable developer preview docs.
239-
Click here to view docs for latest stable release.
240-
</a>
241-
</div>
242-
243230

244231

245232

docs/master/_modules/torch/_lowrank.html

Lines changed: 2 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<meta name="viewport" content="width=device-width, initial-scale=1.0">
1212

13-
<title>torch._lowrank &mdash; PyTorch master documentation</title>
13+
<title>torch._lowrank &mdash; PyTorch 1.12 documentation</title>
1414

1515

1616

@@ -40,12 +40,6 @@
4040
<link rel="index" title="Index" href="../../genindex.html" />
4141
<link rel="search" title="Search" href="../../search.html" />
4242

43-
<!--
44-
Search engines should not index the master version of documentation.
45-
Stable documentation are built without release == 'master'.
46-
-->
47-
<meta name="robots" content="noindex">
48-
4943

5044
<!-- Google Analytics -->
5145

@@ -213,7 +207,7 @@
213207
<div class="pytorch-left-menu-search">
214208

215209
<div class="version">
216-
<a href='https://pytorch.org/docs/versions.html'>master (1.12.0a0+gitb68f227 ) &#x25BC</a>
210+
<a href='https://pytorch.org/docs/versions.html'>1.12 &#x25BC</a>
217211
</div>
218212

219213

@@ -233,13 +227,6 @@
233227

234228

235229

236-
<div>
237-
<a style="color:#F05732" href="https://pytorch.org/docs/stable/_modules/torch/_lowrank.html">
238-
You are viewing unstable developer preview docs.
239-
Click here to view docs for latest stable release.
240-
</a>
241-
</div>
242-
243230

244231

245232

0 commit comments

Comments
 (0)