Update namespace and ifdef for tflite library (#3968)
author오형석/동작제어Lab(SR)/Staff Engineer/삼성전자 <hseok82.oh@samsung.com>
Wed, 12 Dec 2018 08:39:07 +0000 (17:39 +0900)
committerGitHub Enterprise <noreply-CODE@samsung.com>
Wed, 12 Dec 2018 08:39:07 +0000 (17:39 +0900)
commitde99a7c02ebb549a6e3b212ea2a91e8405bcf51e
tree2fe2b36f423929a9069c571b84aa9e53821ce2b3
parent3752f7fa98c34bba86b0eb3b5032c0e600f6cea0
Update namespace and ifdef for tflite library (#3968)

* Update namespace and ifdef for tflite library

Make tflite/extend directory for ported codes from public tensorflow
Update namespace except extended directory
Update ifdef in header

Signed-off-by: Hyeongseok Oh <hseok82.oh@samsung.com>
* Rename tflite/extend to tflite/ext

* Fix format

* Update ifdef in ext

* Flatten namespace nnfw::tflite::interp to nnfw::tflite

* Add comment for endif
46 files changed:
contrib/tf_test/tf_test.cpp
contrib/tflite_classify/src/InferenceInterface.cc
contrib/tflite_classify/src/InferenceInterface.h
libs/tflite/include/tflite/Assert.h
libs/tflite/include/tflite/Diff.h
libs/tflite/include/tflite/FeatureView.h
libs/tflite/include/tflite/InputIndex.h
libs/tflite/include/tflite/InterpreterSession.h
libs/tflite/include/tflite/NNAPISession.h
libs/tflite/include/tflite/OutputIndex.h
libs/tflite/include/tflite/Quantization.h
libs/tflite/include/tflite/Session.h
libs/tflite/include/tflite/TensorLogger.h
libs/tflite/include/tflite/TensorShapeUtils.h
libs/tflite/include/tflite/TensorUtils.h
libs/tflite/include/tflite/TensorView.h
libs/tflite/include/tflite/ext/kernels/Abs.h [moved from libs/tflite/include/tflite/kernels/Abs.h with 89% similarity]
libs/tflite/include/tflite/ext/kernels/CustomOps.h [moved from libs/tflite/include/tflite/kernels/CustomOps.h with 84% similarity]
libs/tflite/include/tflite/ext/kernels/SquaredDifference.h [moved from libs/tflite/include/tflite/kernels/SquaredDifference.h with 92% similarity]
libs/tflite/include/tflite/ext/kernels/TensorFlowMax.h [moved from libs/tflite/include/tflite/kernels/TensorFlowMax.h with 93% similarity]
libs/tflite/include/tflite/ext/kernels/TensorFlowSum.h [moved from libs/tflite/include/tflite/kernels/TensorFlowSum.h with 88% similarity]
libs/tflite/include/tflite/ext/kernels/register.h [moved from libs/tflite/include/tflite/kernels/register.h with 89% similarity]
libs/tflite/include/tflite/ext/nnapi_delegate.h [moved from libs/tflite/include/tflite/nnapi_delegate.h with 93% similarity]
libs/tflite/include/tflite/interp/Builder.h
libs/tflite/include/tflite/interp/FlatBufferBuilder.h
libs/tflite/include/tflite/interp/FunctionBuilder.h
libs/tflite/src/Diff.cpp
libs/tflite/src/FeatureView.cpp
libs/tflite/src/TensorShapeUtils.cpp
libs/tflite/src/TensorView.test.cpp
libs/tflite/src/ext/kernels/Abs.cpp [moved from libs/tflite/src/kernels/Abs.cpp with 98% similarity]
libs/tflite/src/ext/kernels/SquaredDifference.cpp [moved from libs/tflite/src/kernels/SquaredDifference.cpp with 98% similarity]
libs/tflite/src/ext/kernels/TensorFlowMax.cpp [moved from libs/tflite/src/kernels/TensorFlowMax.cpp with 99% similarity]
libs/tflite/src/ext/kernels/TensorFlowSum.cpp [moved from libs/tflite/src/kernels/TensorFlowSum.cpp with 99% similarity]
libs/tflite/src/ext/kernels/register.cpp [moved from libs/tflite/src/kernels/register.cpp with 99% similarity]
libs/tflite/src/ext/nnapi_delegate.cpp [moved from libs/tflite/src/nnapi_delegate.cpp with 99% similarity]
libs/tflite/src/ext/nnapi_delegate_ex_AddOpsAndParams_lambda.inc [moved from libs/tflite/src/nnapi_delegate_ex_AddOpsAndParams_lambda.inc with 100% similarity]
libs/tflite/src/interp/FlatBufferBuilder.cpp
libs/tflite/src/interp/FunctionBuilder.cpp
tools/nnapi_test/src/nnapi_test.cc
tools/tflite_benchmark/src/tflite_benchmark.cc
tools/tflite_benchmark_model/benchmark_tflite_model.cc
tools/tflite_examples/src/conv.cpp
tools/tflite_run/src/tensor_loader.cc
tools/tflite_run/src/tensor_loader.h
tools/tflite_run/src/tflite_run.cc