From e6176868dc62f419ba785a40627a103b33471b3c Mon Sep 17 00:00:00 2001 From: yejianwu Date: Mon, 16 Jul 2018 10:47:03 +0800 Subject: [PATCH] update docs --- docs/user_guide/advanced_usage.rst | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/user_guide/advanced_usage.rst b/docs/user_guide/advanced_usage.rst index b1609197..c0607d9e 100644 --- a/docs/user_guide/advanced_usage.rst +++ b/docs/user_guide/advanced_usage.rst @@ -370,10 +370,10 @@ Reduce Library Size The generated dynamic library by script ``tools/build-standalone-lib.sh`` is about ``1.6M`` for ``armeabi-v7a`` and ``2.1M`` for ``arm64-v8a``. It can be reduced by modifying some build options. - - If the models don't need to run on device ``dsp``, the build option ``--define hexagon=true`` for - ``armeabi-v7a`` can be set to ``false``. And the library will be decreased about ``100KB``. + - If the models don't need to run on device ``dsp``, change the build option ``--define hexagon=true`` + to ``false``. And the library will be decreased about ``100KB``. - - Futher more, if only ``cpu`` device needed, set ``--define opencl=true`` to ``false``. This way + - Futher more, if only ``cpu`` device needed, change ``--define opencl=true`` to ``false``. This way will reduce half of library size to about ``700KB`` for ``armeabi-v7a`` and ``1000KB`` for ``arm64-v8a`` * **static library** -- GitLab