未验证 提交 9763283e 编写于 作者: H huzhiqiang 提交者: GitHub

fix cpp_demo and x86 doc (#2353)

上级 f9feb6fc
...@@ -92,7 +92,7 @@ cd ../mobile_light ...@@ -92,7 +92,7 @@ cd ../mobile_light
make make
adb -s emulator-5554 push mobilenetv1_light_api /data/local/tmp/ adb -s emulator-5554 push mobilenetv1_light_api /data/local/tmp/
adb -s emulator-5554 shell chmod +x /data/local/tmp/mobilenetv1_light_api adb -s emulator-5554 shell chmod +x /data/local/tmp/mobilenetv1_light_api
adb -s emulator-5554 shell "/data/local/tmp/mobilenetv1_light_api --model_dir=/data/local/tmp/mobilenet_v1.opt --threads=1 " adb -s emulator-5554 shell "/data/local/tmp/mobilenetv1_light_api --model_dir=/data/local/tmp/mobilenet_v1.opt "
{% endhighlight %} {% endhighlight %}
## Demo 程序运行结果 ## Demo 程序运行结果
......
...@@ -5,7 +5,7 @@ title: Lite支持x86编译 ...@@ -5,7 +5,7 @@ title: Lite支持x86编译
Paddle-Lite 支持在Docker或Linux环境编译x86预测库。环境搭建参考[环境准备](../source_compile) Paddle-Lite 支持在Docker或Linux环境编译x86预测库。环境搭建参考[环境准备](../source_compile)
## 编译 ## 编译
一: 下载代码 一: 下载代码
```bash ```bash
......
...@@ -92,7 +92,7 @@ cd ../mobile_light ...@@ -92,7 +92,7 @@ cd ../mobile_light
make make
adb -s emulator-5554 push mobilenetv1_light_api /data/local/tmp/ adb -s emulator-5554 push mobilenetv1_light_api /data/local/tmp/
adb -s emulator-5554 shell chmod +x /data/local/tmp/mobilenetv1_light_api adb -s emulator-5554 shell chmod +x /data/local/tmp/mobilenetv1_light_api
adb -s emulator-5554 shell "/data/local/tmp/mobilenetv1_light_api --model_dir=/data/local/tmp/mobilenet_v1.opt --threads=1 " adb -s emulator-5554 shell "/data/local/tmp/mobilenetv1_light_api --model_dir=/data/local/tmp/mobilenet_v1.opt "
{% endhighlight %} {% endhighlight %}
## Demo 程序运行结果 ## Demo 程序运行结果
......
...@@ -5,7 +5,7 @@ title: Lite支持x86编译 ...@@ -5,7 +5,7 @@ title: Lite支持x86编译
Paddle-Lite 支持在Docker或Linux环境编译x86预测库。环境搭建参考[环境准备](../source_compile) Paddle-Lite 支持在Docker或Linux环境编译x86预测库。环境搭建参考[环境准备](../source_compile)
## 编译 ## 编译
一: 下载代码 一: 下载代码
```bash ```bash
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册