diff --git a/runtime/onert/core/include/odc/IQuantizer.h b/runtime/onert/core/include/odc/IQuantizer.h index d698d9ef0a4..3491d218547 100644 --- a/runtime/onert/core/include/odc/IQuantizer.h +++ b/runtime/onert/core/include/odc/IQuantizer.h @@ -17,6 +17,8 @@ #ifndef __ONERT_ODC_IQUANTIZER_H__ #define __ONERT_ODC_IQUANTIZER_H__ +#include "odc/QuantizeType.h" + namespace onert { namespace odc @@ -27,7 +29,7 @@ class IQuantizer public: virtual ~IQuantizer() = default; - virtual int quantize(const char *in, const char *out, bool is_q16) = 0; + virtual int quantize(const char *in, const char *out, QuantizeType qtype) = 0; }; } // namespace odc diff --git a/runtime/onert/odc/Quantizer.h b/runtime/onert/odc/Quantizer.h index 869ed51c3e0..c87794bec5c 100644 --- a/runtime/onert/odc/Quantizer.h +++ b/runtime/onert/odc/Quantizer.h @@ -18,7 +18,6 @@ #define __ONERT_ODC_QUANTIZE_H__ #include "odc/IQuantizer.h" -#include "odc/QuantizeType.h" namespace onert { @@ -31,7 +30,7 @@ class Quantizer : public IQuantizer Quantizer() = default; ~Quantizer() = default; - int quantize(const char *in, const char *out, QuantizeType qtype); + int quantize(const char *in, const char *out, QuantizeType qtype) override; }; } // namespace odc