Skip to content

Commit f3175f7

Browse files
Olivia-liufacebook-github-bot
authored andcommitted
Rename module etdb to inspector (#908)
Summary: Etdb directory was renamed, but because the Example usage is static, it didn't get updated Reviewed By: Jack-Khuu Differential Revision: D50282527
1 parent 751e1cc commit f3175f7

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

docs/source/sdk-inspector.rst

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,21 +26,21 @@ Inspector Methods
2626
Constructor
2727
~~~~~~~~~~~
2828

29-
.. autofunction:: sdk.inspector.inspector.Inspector.__init__
29+
.. autofunction:: sdk.Inspector.__init__
3030

3131
**Example Usage:**
3232

3333
.. code:: python
3434
35-
from executorch.sdk.etdb.inspector import Inspector
35+
from executorch.sdk import Inspector
3636
3737
inspector = Inspector(etdump_path="/path/to/etdump.etdp", etrecord_path="/path/to/etrecord.bin")
3838
3939
4040
print_data_tabular
4141
~~~~~~~~~~~~~~~~~~
4242

43-
.. autofunction:: sdk.inspector.inspector.Inspector.print_data_tabular
43+
.. autofunction:: sdk.Inspector.print_data_tabular
4444

4545
.. _example-usage-1:
4646

@@ -56,7 +56,7 @@ print_data_tabular
5656
find_total_for_module
5757
~~~~~~~~~~~~~~~~~~~~~
5858

59-
.. autofunction:: sdk.inspector.inspector.Inspector.find_total_for_module
59+
.. autofunction:: sdk.Inspector.find_total_for_module
6060

6161
.. _example-usage-2:
6262

@@ -74,7 +74,7 @@ find_total_for_module
7474
get_exported_program
7575
~~~~~~~~~~~~~~~~~~~~
7676

77-
.. autofunction:: sdk.inspector.inspector.Inspector.get_exported_program
77+
.. autofunction:: sdk.Inspector.get_exported_program
7878

7979
.. _example-usage-3:
8080

0 commit comments

Comments
 (0)