diff --git a/tensorflow/lite/kernels/internal/reference/requantize.h b/tensorflow/lite/kernels/internal/reference/requantize.h index 32e32ed0d5b..d1e677857b3 100644 --- a/tensorflow/lite/kernels/internal/reference/requantize.h +++ b/tensorflow/lite/kernels/internal/reference/requantize.h @@ -45,6 +45,7 @@ inline void Requantize(const input_type* input_data, int32_t size, for (int i = 0; i < size; ++i) { output_data[i] = input_data[i] ^ 0x80; } + return; } } static constexpr int32_t kMinOutput = std::numeric_limits::min();