Skip to content

Commit

Permalink
Auto-generating sphinx docs
Browse files Browse the repository at this point in the history
  • Loading branch information
pytorchbot committed Oct 20, 2023
1 parent d315312 commit 2747f36
Show file tree
Hide file tree
Showing 7 changed files with 37 additions and 37 deletions.
26 changes: 13 additions & 13 deletions main/_sources/tutorials/export-to-executorch-tutorial.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -676,28 +676,28 @@ there is only one program, it will by default be saved to the name "forward".

.. code-block:: none
Edge Dialect graph of decode
Edge Dialect graph of encode
ExportedProgram:
class GraphModule(torch.nn.Module):
def forward(self, arg0_1: f32[1, 5]):
# File: /pytorch/executorch/docs/source/tutorials_source/export-to-executorch-tutorial.py:296, code: return torch.nn.functional.linear(x, torch.randn(10, 5))
aten_randn_default: f32[10, 5] = executorch_exir_dialects_edge__ops_aten_randn_default([10, 5], device = device(type='cpu'), pin_memory = False)
aten_permute_copy_default: f32[5, 10] = executorch_exir_dialects_edge__ops_aten_permute_copy_default(aten_randn_default, [1, 0]); aten_randn_default = None
aten_mm_default: f32[1, 10] = executorch_exir_dialects_edge__ops_aten_mm_default(arg0_1, aten_permute_copy_default); arg0_1 = aten_permute_copy_default = None
def forward(self, arg0_1: f32[1, 10]):
# File: /pytorch/executorch/docs/source/tutorials_source/export-to-executorch-tutorial.py:292, code: return torch.nn.functional.linear(x, torch.randn(5, 10))
aten_randn_default: f32[5, 10] = executorch_exir_dialects_edge__ops_aten_randn_default([5, 10], device = device(type='cpu'), pin_memory = False)
aten_permute_copy_default: f32[10, 5] = executorch_exir_dialects_edge__ops_aten_permute_copy_default(aten_randn_default, [1, 0]); aten_randn_default = None
aten_mm_default: f32[1, 5] = executorch_exir_dialects_edge__ops_aten_mm_default(arg0_1, aten_permute_copy_default); arg0_1 = aten_permute_copy_default = None
return (aten_mm_default,)
Graph signature: ExportGraphSignature(input_specs=[InputSpec(kind=<InputKind.USER_INPUT: 1>, arg=TensorArgument(name='arg0_1'), target=None)], output_specs=[OutputSpec(kind=<OutputKind.USER_OUTPUT: 1>, arg=TensorArgument(name='aten_mm_default'), target=None)])
Range constraints: {}
Equality constraints: []
Edge Dialect graph of encode
Edge Dialect graph of decode
ExportedProgram:
class GraphModule(torch.nn.Module):
def forward(self, arg0_1: f32[1, 10]):
# File: /pytorch/executorch/docs/source/tutorials_source/export-to-executorch-tutorial.py:292, code: return torch.nn.functional.linear(x, torch.randn(5, 10))
aten_randn_default: f32[5, 10] = executorch_exir_dialects_edge__ops_aten_randn_default([5, 10], device = device(type='cpu'), pin_memory = False)
aten_permute_copy_default: f32[10, 5] = executorch_exir_dialects_edge__ops_aten_permute_copy_default(aten_randn_default, [1, 0]); aten_randn_default = None
aten_mm_default: f32[1, 5] = executorch_exir_dialects_edge__ops_aten_mm_default(arg0_1, aten_permute_copy_default); arg0_1 = aten_permute_copy_default = None
def forward(self, arg0_1: f32[1, 5]):
# File: /pytorch/executorch/docs/source/tutorials_source/export-to-executorch-tutorial.py:296, code: return torch.nn.functional.linear(x, torch.randn(10, 5))
aten_randn_default: f32[10, 5] = executorch_exir_dialects_edge__ops_aten_randn_default([10, 5], device = device(type='cpu'), pin_memory = False)
aten_permute_copy_default: f32[5, 10] = executorch_exir_dialects_edge__ops_aten_permute_copy_default(aten_randn_default, [1, 0]); aten_randn_default = None
aten_mm_default: f32[1, 10] = executorch_exir_dialects_edge__ops_aten_mm_default(arg0_1, aten_permute_copy_default); arg0_1 = aten_permute_copy_default = None
return (aten_mm_default,)
Graph signature: ExportGraphSignature(input_specs=[InputSpec(kind=<InputKind.USER_INPUT: 1>, arg=TensorArgument(name='arg0_1'), target=None)], output_specs=[OutputSpec(kind=<OutputKind.USER_OUTPUT: 1>, arg=TensorArgument(name='aten_mm_default'), target=None)])
Expand Down Expand Up @@ -1389,7 +1389,7 @@ Links Mentioned

.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 4.708 seconds)
**Total running time of the script:** (0 minutes 4.866 seconds)


.. _sphx_glr_download_tutorials_export-to-executorch-tutorial.py:
Expand Down
4 changes: 2 additions & 2 deletions main/_sources/tutorials/sdk-integration-tutorial.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ In this tutorial, the mobilenet v2 example model is used to demonstrate.
.. code-block:: none
Downloading: "https://download.pytorch.org/models/mobilenet_v2-7ebf99e0.pth" to /var/lib/ci-user/.cache/torch/hub/checkpoints/mobilenet_v2-7ebf99e0.pth
0%| | 0.00/13.6M [00:00<?, ?B/s] 100%|██████████| 13.6M/13.6M [00:00<00:00, 207MB/s]
0%| | 0.00/13.6M [00:00<?, ?B/s] 100%|██████████| 13.6M/13.6M [00:00<00:00, 216MB/s]
/opt/conda/envs/py_3.10/lib/python3.10/site-packages/torch/utils/_pytree.py:590: UserWarning: pytree_to_str is deprecated. Please use treespec_dumps
warnings.warn("pytree_to_str is deprecated. Please use treespec_dumps")

Expand Down Expand Up @@ -358,7 +358,7 @@ Links Mentioned

.. rst-class:: sphx-glr-timing

**Total running time of the script:** (0 minutes 20.641 seconds)
**Total running time of the script:** (0 minutes 20.948 seconds)


.. _sphx_glr_download_tutorials_sdk-integration-tutorial.py:
Expand Down
6 changes: 3 additions & 3 deletions main/_sources/tutorials/sg_execution_times.rst.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,10 @@

Computation times
=================
**00:25.349** total execution time for **tutorials** files:
**00:25.814** total execution time for **tutorials** files:

+---------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_tutorials_sdk-integration-tutorial.py` (``sdk-integration-tutorial.py``) | 00:20.641 | 0.0 MB |
| :ref:`sphx_glr_tutorials_sdk-integration-tutorial.py` (``sdk-integration-tutorial.py``) | 00:20.948 | 0.0 MB |
+---------------------------------------------------------------------------------------------------+-----------+--------+
| :ref:`sphx_glr_tutorials_export-to-executorch-tutorial.py` (``export-to-executorch-tutorial.py``) | 00:04.708 | 0.0 MB |
| :ref:`sphx_glr_tutorials_export-to-executorch-tutorial.py` (``export-to-executorch-tutorial.py``) | 00:04.866 | 0.0 MB |
+---------------------------------------------------------------------------------------------------+-----------+--------+
2 changes: 1 addition & 1 deletion main/searchindex.js

Large diffs are not rendered by default.

Loading

0 comments on commit 2747f36

Please sign in to comment.