Skip to content

Commit fad7a17

Browse files
authored
Update getting-started.md
1 parent c629200 commit fad7a17

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

docs/source/llm/getting-started.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -777,11 +777,14 @@ Run the export script and the ETRecord will be generated as `etrecord.bin`.
777777

778778
An ETDump is an artifact generated at runtime containing a trace of the model execution. For more information, see [the ETDump docs](../etdump.md).
779779

780-
Include the ETDump header in your code.
780+
Include the ETDump header and namespace in your code.
781781
```cpp
782782
// main.cpp
783783

784784
#include <executorch/devtools/etdump/etdump_flatcc.h>
785+
786+
using executorch::etdump::ETDumpGen;
787+
using torch::executor::etdump_result;
785788
```
786789

787790
Create an Instance of the ETDumpGen class and pass it to the Module constructor.

0 commit comments

Comments
 (0)