/*
- * Copyright (c) 2020 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_KERNELS_LESS_H
-#define LUCI_INTERPRETER_KERNELS_LESS_H
+#ifndef LUCI_INTERPRETER_KERNELS_FLOOR_MOD_H
+#define LUCI_INTERPRETER_KERNELS_FLOOR_MOD_H
#include "core/Kernel.h"
namespace kernels
{
-class Less : public Kernel
+class FloorMod : public Kernel
{
public:
- Less(const Tensor *x, const Tensor *y, Tensor *output);
+ FloorMod(const Tensor *x, const Tensor *y, Tensor *output);
const Tensor *x() const { return _inputs[0]; }
const Tensor *y() const { return _inputs[1]; }
private:
void evalFloat() const;
template <typename T> void evalInteger() const;
- void evalQuantized() const;
-
-private:
- int32_t _x_multiplier = 0;
- int _x_shift = 0;
- int32_t _y_multiplier = 0;
- int _y_shift = 0;
};
} // namespace kernels
} // namespace luci_interpreter
-#endif // LUCI_INTERPRETER_KERNELS_LESS_H
+#endif // LUCI_INTERPRETER_KERNELS_FLOOR_MOD_H