Imported Upstream version 1.25.0
[platform/core/ml/nnfw.git] / compiler / luci-interpreter / pal / linux / PALHardSwish.h
@@ -1,6 +1,5 @@
 /*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd. All Rights Reserved
- * Copyright 2019 The TensorFlow Authors. All Rights Reserved.
+ * Copyright (c) 2023 Samsung Electronics Co., Ltd. All Rights Reserved
  *
  * Licensed under the Apache License, Version 2.0 (the "License");
  * you may not use this file except in compliance with the License.
  * limitations under the License.
  */
 
-#ifndef LUCI_INTERPRETER_PAL_LEAKYRELU_H
-#define LUCI_INTERPRETER_PAL_LEAKYRELU_H
+#ifndef LUCI_INTERPRETER_PAL_HARDSWISH_H
+#define LUCI_INTERPRETER_PAL_HARDSWISH_H
 
 #include <tensorflow/lite/kernels/internal/optimized/optimized_ops.h>
 
 namespace luci_interpreter_pal
 {
-static inline void LeakyRelu(const tflite::LeakyReluParams &params,
-                             const tflite::RuntimeShape &input_shape, const float *input_data,
+static inline void HardSwish(const tflite::RuntimeShape &input_shape, const float *input_data,
                              const tflite::RuntimeShape &output_shape, float *output_data)
 {
-  tflite::optimized_ops::LeakyRelu(params, input_shape, input_data, output_shape, output_data);
+  tflite::optimized_ops::HardSwish(input_shape, input_data, output_shape, output_data);
 }
 } // namespace luci_interpreter_pal
 
-#endif // LUCI_INTERPRETER_PAL_LEAKYRELU_H
+#endif // LUCI_INTERPRETER_PAL_HARDSWISH_H