Introduce nnfw's BuiltinOpResolver (#1384)
author서상민/동작제어Lab(SR)/Senior Engineer/삼성전자 <sangmin7.seo@samsung.com>
Mon, 28 May 2018 07:19:56 +0000 (16:19 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Mon, 28 May 2018 07:19:56 +0000 (16:19 +0900)
commit81796831ff84ef54efdf0bf7ab8e37e5ef77e11c
treec723ccbdd28095256fd2ec8de1a3ff5bf78ff214
parent95978b2467b8896b8db9fea7ecd0cf8d85b25d70
Introduce nnfw's BuiltinOpResolver (#1384)

For issue #1383

This patch introduces our own BuiltinOpResolver, which is basically
copied from externals/tensorflow, in order to manage which builtin
operators in TF Lite are used with nnfw.

To only use nnfw's BuiltinOpResolver, this patch also excludes
register.cc in externals/tensorflow from the TF Lite build.

Signed-off-by: Sangmin Seo <sangmin7.seo@samsung.com>
18 files changed:
externals/CMakeLists.txt
include/support/tflite/kernels/register.h [new file with mode: 0644]
libs/support/tflite/src/interp/FlatBufferBuilder.cpp
libs/support/tflite/src/kernels/register.cpp [new file with mode: 0644]
tools/nnapi_test/src/nnapi_test.cc
tools/nnapi_unittests/tests/add_1.cpp
tools/nnapi_unittests/tests/avg_pool_1.cpp
tools/nnapi_unittests/tests/concat_1.cpp
tools/nnapi_unittests/tests/conv_1.cpp
tools/nnapi_unittests/tests/fully_connected_1.cpp
tools/nnapi_unittests/tests/max_pool_1.cpp
tools/nnapi_unittests/tests/reshape_1.cpp
tools/nnapi_unittests/tests/resize_bilinear_1.cpp
tools/nnapi_unittests/tests/softmax_1.cpp
tools/tflite_benchmark/src/tflite_benchmark.cc
tools/tflite_examples/CMakeLists.txt
tools/tflite_examples/src/conv.cpp
tools/tflite_run/src/tflite_run.cc