Imported Upstream version 1.18.0
[platform/core/ml/nnfw.git] / compiler / luci-interpreter / src / kernels / Neg.cpp
index 99f4d4a..c6fe08a 100644 (file)
@@ -17,7 +17,7 @@
 #include "kernels/Neg.h"
 #include "kernels/Utils.h"
 
-#include <tensorflow/lite/kernels/internal/optimized/optimized_ops.h>
+#include "PALNeg.h"
 
 #include <stdexcept>
 
@@ -50,8 +50,8 @@ void Neg::execute() const
 
 void Neg::evalFloat() const
 {
-  tflite::reference_ops::Negate(getTensorShape(input()), getTensorData<float>(input()),
-                                getTensorShape(output()), getTensorData<float>(output()));
+  luci_interpreter_pal::Negate(getTensorShape(input()), getTensorData<float>(input()),
+                               getTensorShape(output()), getTensorData<float>(output()));
 }
 
 } // namespace kernels