From 76b9b07c4e2b6ed75616927f8d38a0551f8fd8ff Mon Sep 17 00:00:00 2001 From: Vikram Dattu Date: Wed, 4 Nov 2020 18:22:03 +0530 Subject: [PATCH] Requantize: Return when we have traced opt path Signed-off-by: Vikram Dattu --- tensorflow/lite/kernels/internal/reference/requantize.h | 1 + 1 file changed, 1 insertion(+) 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();