From a0266b0c2063db2bb61e90f5232bfc986b4145c1 Mon Sep 17 00:00:00 2001 From: Eric Kunze Date: Mon, 18 Oct 2021 16:53:36 -0700 Subject: Fix typo int_t to in_t Change-Id: I495ed97896d8f560b9eb9ed7b05dd2ca1c564c73 Signed-off-by: Eric Kunze --- chapters/type_conversion.adoc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/chapters/type_conversion.adoc b/chapters/type_conversion.adoc index aa2218f..77af54a 100644 --- a/chapters/type_conversion.adoc +++ b/chapters/type_conversion.adoc @@ -98,7 +98,7 @@ Rescale quantized values into a new domain. This function scales by factor: mult for_each(index in shape) { ERROR_IF(in_t != int8_t && in_t != uint8_t && input_zp != 0); ERROR_IF(out_t != int8_t && out_t != uint8_t && output_zp != 0); - ERROR_IF(scale32 && int_t == int48_t); + ERROR_IF(scale32 && in_t == int48_t); ERROR_IF(!scale32 && double_round); int48_t value = tensor_read(input, shape, index, input_zp); int c = (per_channel) ? index[dims-1] : 0; -- cgit v1.2.1