[Filter/TF-Lite] Enable NNAPI with configurations
authorMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 29 Mar 2019 01:45:41 +0000 (10:45 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 29 Mar 2019 05:06:21 +0000 (14:06 +0900)
commitd7f9c9efc296460a1ae23470cd71ffe713f61bdb
treeb0df71fc2891b335335e81916c4c67af6773754e
parent4e6c35366586487a18a591812b0a9fb31858ca1e
[Filter/TF-Lite] Enable NNAPI with configurations

This rephrases #1013 with nnstreamer configuration support.

Add TRUE or 1 or ON of "enable_nnapi" in .ini file or
Use NNSTREAMER_tensorflowlite_enable_nnapi=1 as an environmental
variable to enable NNAPI for tensorflow-lite.

CC: @daeinki
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite_core.cc
ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite_core.h
nnstreamer.ini.in