[Filter/TF] fix deallocator ptr
authorJaeyun <jy1210.jung@samsung.com>
Tue, 1 Sep 2020 06:46:09 +0000 (15:46 +0900)
committerMyungJoo Ham <myungjoo.ham@samsung.com>
Fri, 4 Sep 2020 01:20:41 +0000 (10:20 +0900)
fix function ptr when creating new tensor struct in tf sub-plugin.

Signed-off-by: Jaeyun <jy1210.jung@samsung.com>
ext/nnstreamer/tensor_filter/tensor_filter_tensorflow.cc

index f9c6025..0ba6c06 100644 (file)
@@ -525,7 +525,7 @@ TFCore::run (const GstTensorMemory * input, GstTensorMemory * output)
         0,
         input_encoded,
         total_size,
-        &DeallocateInputTensor,
+        DeallocateInputTensor,
         &input_tensor_info[i]);
     } else {
       in_tensor = TF_NewTensor (