-
Notifications
You must be signed in to change notification settings - Fork 29
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you @kavyasrinet for the PR!
benchmark/tool/C/README.md
Outdated
1. Refer to [this document](https://github.com/PaddlePaddle/Paddle/blob/develop/doc/howto/cross_compiling/cross_compiling_for_android_cn.md) to compile the paddle of android version. After executing make install will generate an output directory containing three subdirectories of include, lib, and third_party. | ||
2. Compile this inference.cc to an executable program for the Android environment as follow. | ||
- armeabi-v7a | ||
1. Refer to [this document](https://github.com/PaddlePaddle/Paddle/blob/develop/doc/howto/cross_compiling/cross_compiling_for_android_cn.md) to compile the Android version pf paddle. After following the mentioned steps, make install will generate an output directory containing three subdirectories: include, lib, and third_party. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
paddle => PaddlePaddle
benchmark/tool/C/README.md
Outdated
This is an inference demo program based on the Paddle C API. But this demo is based on the c++ code, so need to use g++ or clang++ to compile. | ||
The demo can be run from the command line and used to test the inference performance of various models. | ||
This is an inference demo program based on the Paddle C API. | ||
The demo explained here is based on the c++ code, so we need to use g++ or clang++ to compile. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
c++ => C++
benchmark/tool/C/README.md
Outdated
2. Compile this inference.cc to an executable program for the Android environment as follow. | ||
- armeabi-v7a | ||
1. Refer to [this document](https://github.com/PaddlePaddle/Paddle/blob/develop/doc/howto/cross_compiling/cross_compiling_for_android_cn.md) to compile the Android version pf paddle. After following the mentioned steps, make install will generate an output directory containing three subdirectories: include, lib, and third_party. | ||
2. Compile inference.cc to an executable program for the Android environment as follows: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
inference.cc => inference.cc
benchmark/tool/C/README.md
Outdated
@@ -34,7 +35,7 @@ To compile and run this demo in the Android environment, follow these steps: | |||
|
|||
make | |||
``` | |||
3. Run the demo program by logging into the Android environment via adb and specifying the paddle model from the command line. | |||
3. Run the demo program by logging into the Android environment via adb and specifying the paddle model from the command line as follows: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
paddle => PaddlePaddle
No description provided.