Skip to content

Commit a36954d

Browse files
committed
Generate Python docs from pytorch/pytorch@06c6a81
1 parent 5814cd5 commit a36954d

24 files changed

+188
-192
lines changed

2.7/_images/RReLU.png

-239 Bytes
Loading

2.7/_modules/torch/backends/cuda.html

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -810,9 +810,7 @@ <h1>Source code for torch.backends.cuda</h1><div class="highlight"><pre>
810810

811811

812812
<span class="n">_BlasBackends</span> <span class="o">=</span> <span class="p">{</span>
813-
<span class="s2">&quot;default&quot;</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">_BlasBackend</span><span class="o">.</span><span class="n">Default</span><span class="p">,</span>
814813
<span class="s2">&quot;cublas&quot;</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">_BlasBackend</span><span class="o">.</span><span class="n">Cublas</span><span class="p">,</span>
815-
<span class="s2">&quot;hipblas&quot;</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">_BlasBackend</span><span class="o">.</span><span class="n">Cublas</span><span class="p">,</span> <span class="c1"># alias</span>
816814
<span class="s2">&quot;cublaslt&quot;</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">_BlasBackend</span><span class="o">.</span><span class="n">Cublaslt</span><span class="p">,</span>
817815
<span class="s2">&quot;hipblaslt&quot;</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">_BlasBackend</span><span class="o">.</span><span class="n">Cublaslt</span><span class="p">,</span> <span class="c1"># alias</span>
818816
<span class="s2">&quot;ck&quot;</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">_BlasBackend</span><span class="o">.</span><span class="n">Ck</span><span class="p">,</span>
@@ -835,7 +833,6 @@ <h1>Source code for torch.backends.cuda</h1><div class="highlight"><pre>
835833
<span class="sd"> * If `&quot;cublas&quot;` is set then cuBLAS will be used wherever possible.</span>
836834
<span class="sd"> * If `&quot;cublaslt&quot;` is set then cuBLASLt will be used wherever possible.</span>
837835
<span class="sd"> * If `&quot;ck&quot;` is set then CK will be used wherever possible.</span>
838-
<span class="sd"> * If `&quot;default&quot;` (the default) is set then heuristics will be used to pick between the other options.</span>
839836
<span class="sd"> * When no input is given, this function returns the currently preferred library.</span>
840837
<span class="sd"> * User may use the environment variable TORCH_BLAS_PREFER_CUBLASLT=1 to set the preferred library to cuBLASLt</span>
841838
<span class="sd"> globally.</span>

2.7/_sources/generated/exportdb/index.rst.txt

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ support in export please create an issue in the pytorch/pytorch repo with a modu
1919
:caption: Tags
2020

2121
torch.escape-hatch
22-
torch.cond
2322
torch.dynamic-shape
23+
torch.cond
2424
python.closure
2525
torch.dynamic-value
2626
python.data-structure
@@ -212,7 +212,7 @@ cond_branch_class_method
212212

213213
.. note::
214214

215-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
215+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
216216

217217
Support Level: SUPPORTED
218218

@@ -288,7 +288,7 @@ cond_branch_nested_function
288288

289289
.. note::
290290

291-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
291+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
292292

293293
Support Level: SUPPORTED
294294

@@ -361,7 +361,7 @@ cond_branch_nonlocal_variables
361361

362362
.. note::
363363

364-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
364+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
365365

366366
Support Level: SUPPORTED
367367

@@ -458,7 +458,7 @@ cond_closed_over_variable
458458

459459
.. note::
460460

461-
Tags: :doc:`python.closure <python.closure>`, :doc:`torch.cond <torch.cond>`
461+
Tags: :doc:`torch.cond <torch.cond>`, :doc:`python.closure <python.closure>`
462462

463463
Support Level: SUPPORTED
464464

@@ -527,7 +527,7 @@ cond_operands
527527

528528
.. note::
529529

530-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
530+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
531531

532532
Support Level: SUPPORTED
533533

@@ -612,7 +612,7 @@ cond_predicate
612612

613613
.. note::
614614

615-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
615+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
616616

617617
Support Level: SUPPORTED
618618

@@ -1006,7 +1006,7 @@ dynamic_shape_if_guard
10061006

10071007
.. note::
10081008

1009-
Tags: :doc:`python.control-flow <python.control-flow>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
1009+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`python.control-flow <python.control-flow>`
10101010

10111011
Support Level: SUPPORTED
10121012

@@ -1057,7 +1057,7 @@ dynamic_shape_map
10571057

10581058
.. note::
10591059

1060-
Tags: :doc:`torch.map <torch.map>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
1060+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.map <torch.map>`
10611061

10621062
Support Level: SUPPORTED
10631063

@@ -1285,7 +1285,7 @@ list_contains
12851285

12861286
.. note::
12871287

1288-
Tags: :doc:`python.assert <python.assert>`, :doc:`python.data-structure <python.data-structure>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
1288+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`python.data-structure <python.data-structure>`, :doc:`python.assert <python.assert>`
12891289

12901290
Support Level: SUPPORTED
12911291

@@ -1334,7 +1334,7 @@ list_unpack
13341334

13351335
.. note::
13361336

1337-
Tags: :doc:`python.control-flow <python.control-flow>`, :doc:`python.data-structure <python.data-structure>`
1337+
Tags: :doc:`python.data-structure <python.data-structure>`, :doc:`python.control-flow <python.control-flow>`
13381338

13391339
Support Level: SUPPORTED
13401340

@@ -2107,6 +2107,6 @@ Result:
21072107

21082108
.. code-block::
21092109
2110-
Unsupported: torch.* op returned non-Tensor int call_function <function sym_min at 0x7f59c5e72700>
2110+
Unsupported: torch.* op returned non-Tensor int call_function <function sym_min at 0x7f5315f79700>
21112111
21122112

2.7/_sources/generated/exportdb/python.assert.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ list_contains
5454

5555
.. note::
5656

57-
Tags: :doc:`python.assert <python.assert>`, :doc:`python.data-structure <python.data-structure>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
57+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`python.data-structure <python.data-structure>`, :doc:`python.assert <python.assert>`
5858

5959
Support Level: SUPPORTED
6060

2.7/_sources/generated/exportdb/python.closure.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cond_closed_over_variable
55

66
.. note::
77

8-
Tags: :doc:`python.closure <python.closure>`, :doc:`torch.cond <torch.cond>`
8+
Tags: :doc:`torch.cond <torch.cond>`, :doc:`python.closure <python.closure>`
99

1010
Support Level: SUPPORTED
1111

2.7/_sources/generated/exportdb/python.control-flow.rst.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dynamic_shape_if_guard
55

66
.. note::
77

8-
Tags: :doc:`python.control-flow <python.control-flow>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
8+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`python.control-flow <python.control-flow>`
99

1010
Support Level: SUPPORTED
1111

@@ -56,7 +56,7 @@ list_unpack
5656

5757
.. note::
5858

59-
Tags: :doc:`python.control-flow <python.control-flow>`, :doc:`python.data-structure <python.data-structure>`
59+
Tags: :doc:`python.data-structure <python.data-structure>`, :doc:`python.control-flow <python.control-flow>`
6060

6161
Support Level: SUPPORTED
6262

2.7/_sources/generated/exportdb/python.data-structure.rst.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ list_contains
127127

128128
.. note::
129129

130-
Tags: :doc:`python.assert <python.assert>`, :doc:`python.data-structure <python.data-structure>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
130+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`python.data-structure <python.data-structure>`, :doc:`python.assert <python.assert>`
131131

132132
Support Level: SUPPORTED
133133

@@ -176,7 +176,7 @@ list_unpack
176176

177177
.. note::
178178

179-
Tags: :doc:`python.control-flow <python.control-flow>`, :doc:`python.data-structure <python.data-structure>`
179+
Tags: :doc:`python.data-structure <python.data-structure>`, :doc:`python.control-flow <python.control-flow>`
180180

181181
Support Level: SUPPORTED
182182

2.7/_sources/generated/exportdb/torch.cond.rst.txt

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cond_branch_class_method
55

66
.. note::
77

8-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
8+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
99

1010
Support Level: SUPPORTED
1111

@@ -81,7 +81,7 @@ cond_branch_nested_function
8181

8282
.. note::
8383

84-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
84+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
8585

8686
Support Level: SUPPORTED
8787

@@ -154,7 +154,7 @@ cond_branch_nonlocal_variables
154154

155155
.. note::
156156

157-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
157+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
158158

159159
Support Level: SUPPORTED
160160

@@ -251,7 +251,7 @@ cond_closed_over_variable
251251

252252
.. note::
253253

254-
Tags: :doc:`python.closure <python.closure>`, :doc:`torch.cond <torch.cond>`
254+
Tags: :doc:`torch.cond <torch.cond>`, :doc:`python.closure <python.closure>`
255255

256256
Support Level: SUPPORTED
257257

@@ -320,7 +320,7 @@ cond_operands
320320

321321
.. note::
322322

323-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
323+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
324324

325325
Support Level: SUPPORTED
326326

@@ -405,7 +405,7 @@ cond_predicate
405405

406406
.. note::
407407

408-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
408+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
409409

410410
Support Level: SUPPORTED
411411

2.7/_sources/generated/exportdb/torch.dynamic-shape.rst.txt

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ cond_branch_class_method
55

66
.. note::
77

8-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
8+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
99

1010
Support Level: SUPPORTED
1111

@@ -81,7 +81,7 @@ cond_branch_nested_function
8181

8282
.. note::
8383

84-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
84+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
8585

8686
Support Level: SUPPORTED
8787

@@ -154,7 +154,7 @@ cond_branch_nonlocal_variables
154154

155155
.. note::
156156

157-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
157+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
158158

159159
Support Level: SUPPORTED
160160

@@ -251,7 +251,7 @@ cond_operands
251251

252252
.. note::
253253

254-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
254+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
255255

256256
Support Level: SUPPORTED
257257

@@ -336,7 +336,7 @@ cond_predicate
336336

337337
.. note::
338338

339-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
339+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
340340

341341
Support Level: SUPPORTED
342342

@@ -440,7 +440,7 @@ dynamic_shape_if_guard
440440

441441
.. note::
442442

443-
Tags: :doc:`python.control-flow <python.control-flow>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
443+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`python.control-flow <python.control-flow>`
444444

445445
Support Level: SUPPORTED
446446

@@ -491,7 +491,7 @@ dynamic_shape_map
491491

492492
.. note::
493493

494-
Tags: :doc:`torch.map <torch.map>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
494+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.map <torch.map>`
495495

496496
Support Level: SUPPORTED
497497

@@ -693,7 +693,7 @@ list_contains
693693

694694
.. note::
695695

696-
Tags: :doc:`python.assert <python.assert>`, :doc:`python.data-structure <python.data-structure>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
696+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`python.data-structure <python.data-structure>`, :doc:`python.assert <python.assert>`
697697

698698
Support Level: SUPPORTED
699699

2.7/_sources/generated/exportdb/torch.map.rst.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ dynamic_shape_map
55

66
.. note::
77

8-
Tags: :doc:`torch.map <torch.map>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
8+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.map <torch.map>`
99

1010
Support Level: SUPPORTED
1111

0 commit comments

Comments
 (0)