@@ -26,21 +26,21 @@ Inspector Methods
26
26
Constructor
27
27
~~~~~~~~~~~
28
28
29
- .. autofunction :: sdk.inspector.inspector. Inspector.__init__
29
+ .. autofunction :: sdk.Inspector.__init__
30
30
31
31
**Example Usage: **
32
32
33
33
.. code :: python
34
34
35
- from executorch.sdk.etdb.inspector import Inspector
35
+ from executorch.sdk import Inspector
36
36
37
37
inspector = Inspector(etdump_path = " /path/to/etdump.etdp" , etrecord_path = " /path/to/etrecord.bin" )
38
38
39
39
40
40
print_data_tabular
41
41
~~~~~~~~~~~~~~~~~~
42
42
43
- .. autofunction :: sdk.inspector.inspector. Inspector.print_data_tabular
43
+ .. autofunction :: sdk.Inspector.print_data_tabular
44
44
45
45
.. _example-usage-1 :
46
46
@@ -56,7 +56,7 @@ print_data_tabular
56
56
find_total_for_module
57
57
~~~~~~~~~~~~~~~~~~~~~
58
58
59
- .. autofunction :: sdk.inspector.inspector. Inspector.find_total_for_module
59
+ .. autofunction :: sdk.Inspector.find_total_for_module
60
60
61
61
.. _example-usage-2 :
62
62
@@ -74,7 +74,7 @@ find_total_for_module
74
74
get_exported_program
75
75
~~~~~~~~~~~~~~~~~~~~
76
76
77
- .. autofunction :: sdk.inspector.inspector. Inspector.get_exported_program
77
+ .. autofunction :: sdk.Inspector.get_exported_program
78
78
79
79
.. _example-usage-3 :
80
80
@@ -119,13 +119,7 @@ of an ``Inspector`` instance, for example:
119
119
~~~~~~~~~~~~~~~
120
120
121
121
Access ``Event `` instances through the ``events `` attribute of an
122
- ``EventBlock `` instance, for example:
123
-
124
- .. code :: python
125
-
126
- for event_block in inspector.event_blocks:
127
- for event in event_block.events:
128
- # Do something with each event
122
+ ``EventBlock `` instance.
129
123
130
124
.. autoclass :: sdk.inspector.inspector.Event
131
125
0 commit comments