提交 307abb30 编写于 作者: A A. Unique TensorFlower 提交者: TensorFlower Gardener

Add note to benchmark tool on NNAPI restrictions on /data/local/tmp/ on some Android P devices.

PiperOrigin-RevId: 258378187
上级 729c1dfa
......@@ -36,12 +36,16 @@ and the following optional parameters:
mean use no delay.
* `use_nnapi`: `bool` (default=false) \
Whether to use [Android NNAPI](https://developer.android.com/ndk/guides/neuralnetworks/).
This API is available on recent Android devices.
This API is available on recent Android devices. Note that some Android P
devices will fail to use NNAPI for models in `/data/local/tmp/` and this
benchmark tool will not correctly use NNAPI.
* `use_legacy_nnapi`: `bool` (default=false) \
Whether to use the legacy
[Android NNAPI](https://developer.android.com/ndk/guides/neuralnetworks/)
TFLite path, which requires the graph to be fully compatible with NNAPI.
This is available on recent Android devices.
This is available on recent Android devices. Note that some Android P
devices will fail to use NNAPI for models in `/data/local/tmp/` and this
benchmark tool will not correctly use NNAPI.
* `use_gpu`: `bool` (default=false) \
Whether to use the [GPU accelerator delegate](https://github.com/tensorflow/tensorflow/tree/master/tensorflow/lite/delegates/gpu).
This option is currently only available on Android devices.
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册