[fix][tensor_filter] Fix the first output with garbage value with tflite
authorYongjoo Ahn <yongjoo1.ahn@samsung.com>
Tue, 3 Jan 2023 08:27:55 +0000 (17:27 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Thu, 12 Jan 2023 10:24:52 +0000 (19:24 +0900)
commit4c7b11151b7313ecdf5ec7dd8f0e4cc22b7a2922
tree408361134c466c6e341f97d6531488f163e32f54
parent2d6bc59653dab21bf1706d61a06c205c10583a92
[fix][tensor_filter] Fix the first output with garbage value with tflite

- The output buffer address may change after the first invoke.
- To handle this case, Memcpy the output from tflite interpreter
  at the first invoke.

Signed-off-by: Yongjoo Ahn <yongjoo1.ahn@samsung.com>
ext/nnstreamer/tensor_filter/tensor_filter_tensorflow_lite.cc