Imported Upstream version 1.25.0
[platform/core/ml/nnfw.git] / onert-micro / luci-interpreter / src / kernels / PadCommon.h
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2021 Samsung Electronics Co., Ltd. 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.
  */
 
-#include "Builders.h"
+#ifndef LUCI_INTERPRETER_KERNELS_PAD_COMMON_H
+#define LUCI_INTERPRETER_KERNELS_PAD_COMMON_H
 
-#include "kernels/Neg.h"
+#include "Builders.h"
+#include "kernels/Utils.h"
 
 namespace luci_interpreter
 {
+void configure_kernel_CirclePadCommon(const circle::Operator *cur_op,
+                                      BaseRuntimeGraph *runtime_graph);
 
-std::unique_ptr<Kernel> build_kernel_CircleNeg(std::vector<const Tensor *> &&inputs,
-                                               std::vector<Tensor *> &&outputs,
-                                               const uint32_t op_index, KernelBuilder &builder)
-{
-  assert(inputs.size() == 1);
-  const Tensor *input = inputs.at(0);
-  Tensor *output = outputs.at(0);
-
-  return std::make_unique<kernels::Neg>(input, output);
-}
+void execute_kernel_CirclePadCommon(const circle::Operator *cur_op,
+                                    BaseRuntimeGraph *runtime_graph);
 
 } // namespace luci_interpreter
+
+#endif // LUCI_INTERPRETER_KERNELS_PAD_COMMON_H