Skip to content

Commit 0b10260

Browse files
committed
Generate Python docs from pytorch/pytorch@a344069
1 parent c0189f9 commit 0b10260

File tree

2,580 files changed

+9448
-9391
lines changed

Some content is hidden

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

2,580 files changed

+9448
-9391
lines changed

main/.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: 675665a6c729b7945323ae56f0f2cce7
3+
config: 0c96c4e26d1ad3d74a54272445a81901
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

main/_images/RReLU.png

-146 Bytes
Loading

main/_images/ReduceLROnPlateau.png

-103 Bytes
Loading

main/_sources/complex_numbers.md.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ supported for complex tensors.
4545
## Transition from the old representation
4646

4747
Users who currently worked around the lack of complex tensors with real tensors of shape {math}`(..., 2)`
48-
can easily to switch using the complex tensors in their code using {func}`torch.view_as_complex`
48+
can easily switch to using the complex tensors in their code using {func}`torch.view_as_complex`
4949
and {func}`torch.view_as_real`. Note that these functions don’t perform any copy and return a
5050
view of the input tensor.
5151

@@ -140,7 +140,7 @@ through the same optimizer on the {func}`torch.view_as_real` equivalent of the c
140140

141141
`real_optim` and `complex_optim` will compute the same updates on the parameters, though there may be slight numerical
142142
discrepancies between the two optimizers, similar to numerical discrepancies between foreach vs forloop optimizers
143-
and capturable vs default optimizers. For more details, see [numbercial accuracy](https://pytorch.org/docs/stable/notes/numerical_accuracy.html).
143+
and capturable vs default optimizers. For more details, see [numerical accuracy](https://pytorch.org/docs/stable/notes/numerical_accuracy.html).
144144

145145
Specifically, while you can think of our optimizer's handling of complex tensors as the same as optimizing over their
146146
`p.real` and `p.imag` pieces separately, the implementation details are not precisely that. Note that the

main/_sources/distributed.md.txt

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -394,6 +394,10 @@ an opaque group handle that can be given as a `group` argument to all collective
394394
.. autofunction:: new_group
395395
```
396396

397+
```{eval-rst}
398+
.. autofunction:: torch.distributed.distributed_c10d.shrink_group
399+
```
400+
397401
```{eval-rst}
398402
.. autofunction:: get_group_rank
399403
```

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

Lines changed: 10 additions & 10 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
@@ -235,7 +235,7 @@ cond_branch_class_method
235235

236236
.. note::
237237

238-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
238+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
239239

240240
Support Level: SUPPORTED
241241

@@ -317,7 +317,7 @@ cond_branch_nested_function
317317

318318
.. note::
319319

320-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
320+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
321321

322322
Support Level: SUPPORTED
323323

@@ -396,7 +396,7 @@ cond_branch_nonlocal_variables
396396

397397
.. note::
398398

399-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
399+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
400400

401401
Support Level: SUPPORTED
402402

@@ -500,7 +500,7 @@ cond_closed_over_variable
500500

501501
.. note::
502502

503-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`python.closure <python.closure>`
503+
Tags: :doc:`python.closure <python.closure>`, :doc:`torch.cond <torch.cond>`
504504

505505
Support Level: SUPPORTED
506506

@@ -576,7 +576,7 @@ cond_operands
576576

577577
.. note::
578578

579-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
579+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
580580

581581
Support Level: SUPPORTED
582582

@@ -668,7 +668,7 @@ cond_predicate
668668

669669
.. note::
670670

671-
Tags: :doc:`torch.cond <torch.cond>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
671+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.cond <torch.cond>`
672672

673673
Support Level: SUPPORTED
674674

@@ -1099,7 +1099,7 @@ dynamic_shape_if_guard
10991099

11001100
.. note::
11011101

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

11041104
Support Level: SUPPORTED
11051105

@@ -1156,7 +1156,7 @@ dynamic_shape_map
11561156

11571157
.. note::
11581158

1159-
Tags: :doc:`torch.map <torch.map>`, :doc:`torch.dynamic-shape <torch.dynamic-shape>`
1159+
Tags: :doc:`torch.dynamic-shape <torch.dynamic-shape>`, :doc:`torch.map <torch.map>`
11601160

11611161
Support Level: SUPPORTED
11621162

@@ -1416,7 +1416,7 @@ list_contains
14161416

14171417
.. note::
14181418

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

14211421
Support Level: SUPPORTED
14221422

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

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

6161
.. note::
6262

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

6565
Support Level: SUPPORTED
6666

main/_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:`torch.cond <torch.cond>`, :doc:`python.closure <python.closure>`
8+
Tags: :doc:`python.closure <python.closure>`, :doc:`torch.cond <torch.cond>`
99

1010
Support Level: SUPPORTED
1111

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

Lines changed: 1 addition & 1 deletion
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

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

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

148148
.. note::
149149

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

152152
Support Level: SUPPORTED
153153

0 commit comments

Comments
 (0)