[Filter/TF] remove unnecessary code
authorJaeyun <jy1210.jung@samsung.com>
Wed, 18 Dec 2019 08:29:48 +0000 (17:29 +0900)
committerjaeyun-jung <39614140+jaeyun-jung@users.noreply.github.com>
Wed, 18 Dec 2019 09:29:57 +0000 (18:29 +0900)
remove unnecessary code (duplicated with tf_destroyNotify())

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

index fd65fb9..75fd6f2 100644 (file)
@@ -590,17 +590,6 @@ failed:
 }
 
 /**
- * @brief      the destroy notify method for tensorflow. it will free the output tensor
- * @param[in] data : the data element destroyed at the pipeline
- */
-void
-tf_core_destroyNotify (void * data)
-{
-  TF_DeleteTensor ( (TFCore::outputTensorMap.find (data))->second);
-  TFCore::outputTensorMap.erase (data);
-}
-
-/**
  * @brief Free privateData and move on.
  */
 static void