Skip to content

Commit e0161dd

Browse files
committed
auto-generating sphinx docs
1 parent 71844f4 commit e0161dd

File tree

756 files changed

+861
-922
lines changed

Some content is hidden

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

756 files changed

+861
-922
lines changed

docs/master/__config__.html

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

160160

161161
<div class="version">
162-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
162+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
163163
</div>
164164

165165

docs/master/_modules/index.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/__config__.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/_jit_internal.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/_lobpcg.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/_lowrank.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/_tensor_str.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/_utils.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/_vmap_internals.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/autograd.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/autograd/anomaly_mode.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/autograd/function.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/autograd/functional.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/autograd/grad_mode.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/autograd/gradcheck.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

@@ -624,7 +624,7 @@ <h1>Source code for torch.autograd.gradcheck</h1><div class="highlight"><pre>
624624
<span class="sd"> identical inputs through the differentiation, the results must either match</span>
625625
<span class="sd"> exactly (default, 0.0) or be within this tolerance.</span>
626626
<span class="sd"> check_undefined_grad (bool, options): if True, check if undefined output grads</span>
627-
<span class="sd"> are supported and treated as zeros</span>
627+
<span class="sd"> are supported and treated as zeros, for ``Tensor`` outputs.</span>
628628

629629
<span class="sd"> Returns:</span>
630630
<span class="sd"> True if all differences satisfy allclose condition</span>
@@ -809,7 +809,11 @@ <h1>Source code for torch.autograd.gradcheck</h1><div class="highlight"><pre>
809809
<span class="k">return</span> <span class="kc">True</span>
810810

811811
<span class="c1"># All backward functions must work properly if all output grads are undefined</span>
812-
<span class="n">outputs_to_check</span> <span class="o">=</span> <span class="p">[[</span><span class="n">torch</span><span class="o">.</span><span class="n">_C</span><span class="o">.</span><span class="n">_functions</span><span class="o">.</span><span class="n">UndefinedGrad</span><span class="p">()(</span><span class="n">o</span><span class="p">)</span> <span class="k">for</span> <span class="n">o</span> <span class="ow">in</span> <span class="n">_differentiable_outputs</span><span class="p">(</span><span class="n">func</span><span class="p">(</span><span class="o">*</span><span class="n">tupled_inputs</span><span class="p">))]]</span>
812+
<span class="n">outputs_to_check</span> <span class="o">=</span> <span class="p">[[</span>
813+
<span class="n">torch</span><span class="o">.</span><span class="n">_C</span><span class="o">.</span><span class="n">_functions</span><span class="o">.</span><span class="n">UndefinedGrad</span><span class="p">()(</span><span class="n">o</span><span class="p">)</span> <span class="k">for</span> <span class="n">o</span> <span class="ow">in</span> <span class="n">_differentiable_outputs</span><span class="p">(</span><span class="n">func</span><span class="p">(</span><span class="o">*</span><span class="n">tupled_inputs</span><span class="p">))</span>
814+
<span class="c1"># This check filters out Tensor-likes that aren&#39;t instances of Tensor.</span>
815+
<span class="k">if</span> <span class="nb">isinstance</span><span class="p">(</span><span class="n">o</span><span class="p">,</span> <span class="n">torch</span><span class="o">.</span><span class="n">Tensor</span><span class="p">)</span>
816+
<span class="p">]]</span>
813817

814818
<span class="c1"># If there are multiple output grads, we should be able to undef one at a time without error</span>
815819
<span class="k">if</span> <span class="nb">len</span><span class="p">(</span><span class="n">outputs_to_check</span><span class="p">[</span><span class="mi">0</span><span class="p">])</span> <span class="o">&gt;</span> <span class="mi">1</span><span class="p">:</span>

docs/master/_modules/torch/autograd/profiler.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/backends/cuda.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/backends/cudnn.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/backends/mkl.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/backends/mkldnn.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/backends/openmp.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/cuda.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/cuda/amp/autocast_mode.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/cuda/amp/grad_scaler.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/cuda/memory.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/cuda/nvtx.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/cuda/random.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/cuda/streams.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

docs/master/_modules/torch/distributed.html

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@
158158

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

@@ -370,10 +370,6 @@ <h1>Source code for torch.distributed</h1><div class="highlight"><pre>
370370
<span class="c1"># this.</span>
371371

372372
<span class="kn">from</span> <span class="nn">.distributed_c10d</span> <span class="kn">import</span> <span class="n">_backend</span>
373-
374-
<span class="c1"># TODO: remove this once CI issue is resolved</span>
375-
<span class="c1"># https://github.com/pytorch/pytorch/issues/42517</span>
376-
<span class="kn">from</span> <span class="nn">.distributed_c10d</span> <span class="kn">import</span> <span class="n">_P2POp</span><span class="p">,</span> <span class="n">_batch_isend_irecv</span>
377373
</pre></div>
378374

379375
</article>

docs/master/_modules/torch/distributed/autograd.html

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

159159

160160
<div class="version">
161-
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+403616e &#x25BC</a>
161+
<a href='http://pytorch.org/docs/versions.html'>1.8.0a0+8f6131d &#x25BC</a>
162162
</div>
163163

164164

0 commit comments

Comments
 (0)