Skip to content

Commit f376227

Browse files
committed
Update TensorFlow Lite to v2.6.0. Fix build for Android with NNAPI
1 parent 0c3ad42 commit f376227

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

inference_helper/inference_helper_tensorflow_lite.cpp

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,10 @@ limitations under the License.
4040
#include "tensorflow/lite/delegates/xnnpack/xnnpack_delegate.h"
4141
#endif
4242

43+
#ifdef INFERENCE_HELPER_ENABLE_TFLITE_DELEGATE_NNAPI
44+
#include "tensorflow/lite/delegates/nnapi/nnapi_delegate.h"
45+
#endif
46+
4347
/* for My modules */
4448
#include "inference_helper_log.h"
4549
#include "inference_helper_tensorflow_lite.h"

0 commit comments

Comments
 (0)