Skip to content

Commit

Permalink
Update runtime-build-and-cross-compilation.md (#5452)
Browse files Browse the repository at this point in the history
Summary:
Update the output of executor runner on the tutorial `add.pte`

Pull Request resolved: #5452

Reviewed By: mergennachin

Differential Revision: D63934482

Pulled By: dvorjackz

fbshipit-source-id: 4933508d21f6965e0fcddd0caf5bf0ec1acc69ee
  • Loading branch information
dvorjackz authored and facebook-github-bot committed Oct 5, 2024
1 parent 4651d65 commit 5abfe13
Showing 1 changed file with 9 additions and 10 deletions.
19 changes: 9 additions & 10 deletions docs/source/runtime-build-and-cross-compilation.md
Original file line number Diff line number Diff line change
Expand Up @@ -98,21 +98,20 @@ If it worked, you should see the message "Model executed successfully" followed
by the output values.

```
I 00:00:00.002052 executorch:executor_runner.cpp:75] Model file add.pte is loaded.
I 00:00:00.002086 executorch:executor_runner.cpp:85] Running method forward
I 00:00:00.002092 executorch:executor_runner.cpp:140] Setting up non-const buffer 1, size 48.
I 00:00:00.002149 executorch:executor_runner.cpp:181] Method loaded.
I 00:00:00.002154 executorch:util.h:105] input already initialized, refilling.
I 00:00:00.002157 executorch:util.h:105] input already initialized, refilling.
I 00:00:00.002159 executorch:executor_runner.cpp:186] Inputs prepared.
I 00:00:00.011684 executorch:executor_runner.cpp:195] Model executed successfully.
I 00:00:00.011709 executorch:executor_runner.cpp:210] 8.000000
I 00:00:00.000526 executorch:executor_runner.cpp:82] Model file add.pte is loaded.
I 00:00:00.000595 executorch:executor_runner.cpp:91] Using method forward
I 00:00:00.000612 executorch:executor_runner.cpp:138] Setting up planned buffer 0, size 48.
I 00:00:00.000669 executorch:executor_runner.cpp:161] Method loaded.
I 00:00:00.000685 executorch:executor_runner.cpp:171] Inputs prepared.
I 00:00:00.000764 executorch:executor_runner.cpp:180] Model executed successfully.
I 00:00:00.000770 executorch:executor_runner.cpp:184] 1 outputs:
Output 0: tensor(sizes=[1], [2.])
```


## Cross compilation

Follwing are instruction on how to perform cross compilation for Android and iOS.
Following are instruction on how to perform cross compilation for Android and iOS.

### Android
- Prerequisite: [Android NDK](https://developer.android.com/ndk), choose one of the following:
Expand Down

0 comments on commit 5abfe13

Please sign in to comment.