Skip to content

Commit 03ed4c4

Browse files
committed
Generate Python docs from pytorch/pytorch@dff5a43
1 parent eec4c4b commit 03ed4c4

File tree

790 files changed

+1020
-962
lines changed

Some content is hidden

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

790 files changed

+1020
-962
lines changed

docs/master/__config__.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+c58b37f &#x25BC</a>
191+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+dff5a43 &#x25BC</a>
192192
</div>
193193

194194

docs/master/_modules/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187

188188

189189
<div class="version">
190-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+c58b37f &#x25BC</a>
190+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+dff5a43 &#x25BC</a>
191191
</div>
192192

193193

docs/master/_modules/torch.html

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187

188188

189189
<div class="version">
190-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+c58b37f &#x25BC</a>
190+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+dff5a43 &#x25BC</a>
191191
</div>
192192

193193

@@ -926,14 +926,14 @@ <h1>Source code for torch</h1><div class="highlight"><pre>
926926
<span class="c1">################################################################################</span>
927927

928928
<span class="c1"># needs to be before the submodule imports to avoid circular dependencies</span>
929-
<span class="k">def</span> <span class="nf">_assert</span><span class="p">(</span><span class="n">condition</span><span class="p">,</span> <span class="n">message</span><span class="p">):</span>
929+
<div class="viewcode-block" id="_assert"><a class="viewcode-back" href="../generated/torch._assert.html#torch._assert">[docs]</a><span class="k">def</span> <span class="nf">_assert</span><span class="p">(</span><span class="n">condition</span><span class="p">,</span> <span class="n">message</span><span class="p">):</span>
930930
<span class="sa">r</span><span class="sd">&quot;&quot;&quot;A wrapper around Python&#39;s assert which is symbolically traceable.</span>
931931
<span class="sd"> &quot;&quot;&quot;</span>
932932
<span class="kn">from</span> <span class="nn">.overrides</span> <span class="kn">import</span> <span class="n">has_torch_function</span><span class="p">,</span> <span class="n">handle_torch_function</span>
933933

934934
<span class="k">if</span> <span class="nb">type</span><span class="p">(</span><span class="n">condition</span><span class="p">)</span> <span class="ow">is</span> <span class="ow">not</span> <span class="n">torch</span><span class="o">.</span><span class="n">Tensor</span> <span class="ow">and</span> <span class="n">has_torch_function</span><span class="p">((</span><span class="n">condition</span><span class="p">,)):</span>
935935
<span class="k">return</span> <span class="n">handle_torch_function</span><span class="p">(</span><span class="n">_assert</span><span class="p">,</span> <span class="p">(</span><span class="n">condition</span><span class="p">,),</span> <span class="n">condition</span><span class="p">,</span> <span class="n">message</span><span class="p">)</span>
936-
<span class="k">assert</span> <span class="n">condition</span><span class="p">,</span> <span class="n">message</span>
936+
<span class="k">assert</span> <span class="n">condition</span><span class="p">,</span> <span class="n">message</span></div>
937937

938938
<span class="c1">################################################################################</span>
939939
<span class="c1"># Import most common subpackages</span>

docs/master/_modules/torch/__config__.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187

188188

189189
<div class="version">
190-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+c58b37f &#x25BC</a>
190+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+dff5a43 &#x25BC</a>
191191
</div>
192192

193193

docs/master/_modules/torch/_jit_internal.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187

188188

189189
<div class="version">
190-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+c58b37f &#x25BC</a>
190+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+dff5a43 &#x25BC</a>
191191
</div>
192192

193193

docs/master/_modules/torch/_lobpcg.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187

188188

189189
<div class="version">
190-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+c58b37f &#x25BC</a>
190+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+dff5a43 &#x25BC</a>
191191
</div>
192192

193193

docs/master/_modules/torch/_lowrank.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187

188188

189189
<div class="version">
190-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+c58b37f &#x25BC</a>
190+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+dff5a43 &#x25BC</a>
191191
</div>
192192

193193

docs/master/_modules/torch/_tensor_str.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187

188188

189189
<div class="version">
190-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+c58b37f &#x25BC</a>
190+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+dff5a43 &#x25BC</a>
191191
</div>
192192

193193

docs/master/_modules/torch/_utils.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187

188188

189189
<div class="version">
190-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+c58b37f &#x25BC</a>
190+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+dff5a43 &#x25BC</a>
191191
</div>
192192

193193

docs/master/_modules/torch/_vmap_internals.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@
187187

188188

189189
<div class="version">
190-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+c58b37f &#x25BC</a>
190+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+dff5a43 &#x25BC</a>
191191
</div>
192192

193193

0 commit comments

Comments
 (0)