Skip to content

Commit e506d63

Browse files
committed
Generate Python docs from pytorch/pytorch@30b9583
1 parent 365f3aa commit e506d63

File tree

843 files changed

+1726
-1504
lines changed

Some content is hidden

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

843 files changed

+1726
-1504
lines changed

docs/master/__config__.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -189,7 +189,7 @@
189189

190190

191191
<div class="version">
192-
master (1.9.0a0+git56e7889 )
192+
master (1.9.0a0+git30b9583 )
193193
</div>
194194

195195

docs/master/_modules/index.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

@@ -391,6 +391,7 @@ <h1>All modules for which code is available</h1>
391391
<li><a href="torch/_jit_internal.html">torch._jit_internal</a></li>
392392
<li><a href="torch/_lobpcg.html">torch._lobpcg</a></li>
393393
<li><a href="torch/_lowrank.html">torch._lowrank</a></li>
394+
<li><a href="torch/_tensor.html">torch._tensor</a></li>
394395
<li><a href="torch/_tensor_str.html">torch._tensor_str</a></li>
395396
<li><a href="torch/_utils.html">torch._utils</a></li>
396397
<li><a href="torch/_vmap_internals.html">torch._vmap_internals</a></li>
@@ -571,7 +572,6 @@ <h1>All modules for which code is available</h1>
571572
<li><a href="torch/serialization.html">torch.serialization</a></li>
572573
<li><a href="torch/sparse.html">torch.sparse</a></li>
573574
<li><a href="torch/storage.html">torch.storage</a></li>
574-
<li><a href="torch/tensor.html">torch.tensor</a></li>
575575
<li><a href="torch/utils/benchmark/utils/common.html">torch.utils.benchmark.utils.common</a></li>
576576
<li><a href="torch/utils/benchmark/utils/timer.html">torch.utils.benchmark.utils.timer</a></li>
577577
<li><a href="torch/utils/benchmark/utils/valgrind_wrapper/timer_interface.html">torch.utils.benchmark.utils.valgrind_wrapper.timer_interface</a></li>

docs/master/_modules/torch.html

+2-2
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

@@ -858,7 +858,7 @@ <h1>Source code for torch</h1><div class="highlight"><pre>
858858
<span class="c1"># Define Storage and Tensor classes</span>
859859
<span class="c1">################################################################################</span>
860860

861-
<span class="kn">from</span> <span class="nn">.tensor</span> <span class="kn">import</span> <span class="n">Tensor</span>
861+
<span class="kn">from</span> <span class="nn">._tensor</span> <span class="kn">import</span> <span class="n">Tensor</span>
862862
<span class="kn">from</span> <span class="nn">.storage</span> <span class="kn">import</span> <span class="n">_StorageBase</span>
863863

864864

docs/master/_modules/torch/__config__.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

docs/master/_modules/torch/_jit_internal.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

docs/master/_modules/torch/_lobpcg.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

docs/master/_modules/torch/_lowrank.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

docs/master/_modules/torch/tensor.html renamed to docs/master/_modules/torch/_tensor.html

+6-6
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@
1010

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

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

1515

1616

1717

1818

1919

20-
<link rel="canonical" href="https://pytorch.org/docs/stable/_modules/torch/tensor.html"/>
20+
<link rel="canonical" href="https://pytorch.org/docs/stable/_modules/torch/_tensor.html"/>
2121

2222

2323

@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

@@ -212,7 +212,7 @@
212212

213213

214214
<div>
215-
<a style="color:#F05732" href="https://pytorch.org/docs/stable/_modules/torch/tensor.html">
215+
<a style="color:#F05732" href="https://pytorch.org/docs/stable/_modules/torch/_tensor.html">
216216
You are viewing unstable developer preview docs.
217217
Click here to view docs for latest stable release.
218218
</a>
@@ -353,7 +353,7 @@
353353

354354
<li><a href="../torch.html">torch</a> &gt;</li>
355355

356-
<li>torch.tensor</li>
356+
<li>torch._tensor</li>
357357

358358

359359
<li class="pytorch-breadcrumbs-aside">
@@ -381,7 +381,7 @@
381381
<div role="main" class="main-content" itemscope="itemscope" itemtype="http://schema.org/Article">
382382
<article itemprop="articleBody" id="pytorch-article" class="pytorch-article">
383383

384-
<h1>Source code for torch.tensor</h1><div class="highlight"><pre>
384+
<h1>Source code for torch._tensor</h1><div class="highlight"><pre>
385385
<span></span><span class="kn">from</span> <span class="nn">collections</span> <span class="kn">import</span> <span class="n">OrderedDict</span>
386386
<span class="kn">import</span> <span class="nn">functools</span>
387387
<span class="kn">from</span> <span class="nn">numbers</span> <span class="kn">import</span> <span class="n">Number</span>

docs/master/_modules/torch/_tensor_str.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

docs/master/_modules/torch/_utils.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

docs/master/_modules/torch/_vmap_internals.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

docs/master/_modules/torch/autograd.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

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

+3-3
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

@@ -424,7 +424,7 @@ <h1>Source code for torch.autograd.anomaly_mode</h1><div class="highlight"><pre>
424424
<span class="sd"> &gt;&gt;&gt; out.backward()</span>
425425
<span class="sd"> Traceback (most recent call last):</span>
426426
<span class="sd"> File &quot;&lt;stdin&gt;&quot;, line 1, in &lt;module&gt;</span>
427-
<span class="sd"> File &quot;/your/pytorch/install/torch/tensor.py&quot;, line 93, in backward</span>
427+
<span class="sd"> File &quot;/your/pytorch/install/torch/_tensor.py&quot;, line 93, in backward</span>
428428
<span class="sd"> torch.autograd.backward(self, gradient, retain_graph, create_graph)</span>
429429
<span class="sd"> File &quot;/your/pytorch/install/torch/autograd/__init__.py&quot;, line 90, in backward</span>
430430
<span class="sd"> allow_unreachable=True) # allow_unreachable flag</span>
@@ -443,7 +443,7 @@ <h1>Source code for torch.autograd.anomaly_mode</h1><div class="highlight"><pre>
443443
<span class="sd"> out = MyFunc.apply(a)</span>
444444
<span class="sd"> Traceback (most recent call last):</span>
445445
<span class="sd"> File &quot;&lt;stdin&gt;&quot;, line 4, in &lt;module&gt;</span>
446-
<span class="sd"> File &quot;/your/pytorch/install/torch/tensor.py&quot;, line 93, in backward</span>
446+
<span class="sd"> File &quot;/your/pytorch/install/torch/_tensor.py&quot;, line 93, in backward</span>
447447
<span class="sd"> torch.autograd.backward(self, gradient, retain_graph, create_graph)</span>
448448
<span class="sd"> File &quot;/your/pytorch/install/torch/autograd/__init__.py&quot;, line 90, in backward</span>
449449
<span class="sd"> allow_unreachable=True) # allow_unreachable flag</span>

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

docs/master/_modules/torch/cuda.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

docs/master/_modules/torch/distributed.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

docs/master/_modules/torch/distributed/algorithms/ddp_comm_hooks/default_hooks.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

docs/master/_modules/torch/distributed/algorithms/ddp_comm_hooks/powerSGD_hook.html

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

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

+1-1
Original file line numberDiff line numberDiff line change
@@ -188,7 +188,7 @@
188188

189189

190190
<div class="version">
191-
master (1.9.0a0+git56e7889 )
191+
master (1.9.0a0+git30b9583 )
192192
</div>
193193

194194

0 commit comments

Comments
 (0)