File: api_reference.md

package info (click to toggle)
pytorch 2.9.1%2Bdfsg-1~exp2
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 180,096 kB
  • sloc: python: 1,473,255; cpp: 942,030; ansic: 79,796; asm: 7,754; javascript: 2,502; java: 1,962; sh: 1,809; makefile: 628; xml: 8
file content (69 lines) | stat: -rw-r--r-- 1,490 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
(export.api_reference)=

# torch.export API Reference

```{eval-rst}
.. automodule:: torch.export

.. autofunction:: torch.export.export

.. autoclass:: torch.export.ExportedProgram
   :members:
   :exclude-members: __init__

.. automodule:: torch.export.dynamic_shapes
   :members: Dim, ShapesCollection, AdditionalInputs, refine_dynamic_shapes_from_suggested_fixes

.. autofunction:: torch.export.save

.. autofunction:: torch.export.load

.. autofunction:: torch.export.pt2_archive._package.package_pt2

.. autofunction:: torch.export.pt2_archive._package.load_pt2

.. autofunction:: torch.export.draft_export

.. automodule:: torch.export.unflatten
    :members:

.. autofunction:: torch.export.register_dataclass

.. automodule:: torch.export.decomp_utils
   :members:
   :ignore-module-all:
   :undoc-members:

.. automodule:: torch.export.experimental
   :members:
   :ignore-module-all:

.. automodule:: torch.export.passes
   :members:

.. automodule:: torch.export.pt2_archive
   :members:
   :ignore-module-all:

.. automodule:: torch.export.pt2_archive.constants
   :members:
   :ignore-module-all:

.. automodule:: torch.export.exported_program
   :members:
   :ignore-module-all:
   :exclude-members: ExportedProgram

.. automodule:: torch.export.custom_ops
   :members:
   :ignore-module-all:

.. automodule:: torch.export.custom_obj
   :members:
   :ignore-module-all:

.. automodule:: torch.export.graph_signature
   :members:
   :ignore-module-all:
   :undoc-members:
```