[Filter/TFLite] remove the not used code
authorHyoungjooAhn <hello.ahnn@gmail.com>
Tue, 6 Nov 2018 04:36:47 +0000 (13:36 +0900)
committerMyungJoo Ham <myungjoo.ham@gmail.com>
Tue, 6 Nov 2018 14:06:40 +0000 (23:06 +0900)
the method 'setInputDimension()' is not used in tensorflow_lite.

Signed-off-by: HyoungjooAhn <hello.ahnn@gmail.com>
gst/tensor_filter/tensor_filter_tensorflow_lite.c

index df82428..da29337 100644 (file)
@@ -123,17 +123,6 @@ tflite_getOutputDim (const GstTensorFilter * filter, void **private_data,
 }
 
 /**
- * @brief The set-input-dim callback for GstTensorFilterFramework
- */
-static int
-tflite_setInputDim (const GstTensorFilter * filter, void **private_data,
-    const GstTensorsInfo * in_info, GstTensorsInfo * out_info)
-{
-  /** @todo call tflite core apis */
-  return 0;                     /** NYI */
-}
-
-/**
  * @brief Free privateData and move on.
  */
 static void
@@ -154,7 +143,6 @@ GstTensorFilterFramework NNS_support_tensorflow_lite = {
   .invoke_NN = tflite_invoke,
   .getInputDimension = tflite_getInputDim,
   .getOutputDimension = tflite_getOutputDim,
-  .setInputDimension = tflite_setInputDim,
   .open = tflite_open,
   .close = tflite_close,
 };