diff options
author | Eric Kunze <eric.kunze@arm.com> | 2022-05-10 21:17:47 -0700 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2022-05-10 21:18:36 -0700 |
commit | 6de978203f071082afcc9090a6ca4c39e0273051 (patch) | |
tree | 1557cfe82d689eab9b2a096d08f45c39ecb34d0a /chapters/type_conversion.adoc | |
parent | 8a536ae21322978e7ebfc2d6f81cfcf6e0dbd6ab (diff) | |
download | specification-6de978203f071082afcc9090a6ca4c39e0273051.tar.gz |
Mark RESCALE multiplier and scale as refs
They are arrays of multipliers and shifts to handle per channel
scaling.
Change-Id: I4451a87ef4d710fcb93745c8df73ec41752415c0
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Diffstat (limited to 'chapters/type_conversion.adoc')
-rw-r--r-- | chapters/type_conversion.adoc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/chapters/type_conversion.adoc b/chapters/type_conversion.adoc index 1427374..7d0682a 100644 --- a/chapters/type_conversion.adoc +++ b/chapters/type_conversion.adoc @@ -84,8 +84,8 @@ Rescale quantized values into a new domain. This function scales by factor: mult |Output|out_t*|output|shape|Output tensor with the same shape as input |Attribute|in_t|input_zp|-|Input tensor zero point. Must be zero for non-int8 types. |Attribute|out_t|output_zp|-|Output tensor zero point. Must be zero for non-int8 types. -|Input (MT profile) Attribute (BI/MI profiles)|mul_t|multiplier|[NC]|Scaling multiplier array -|Input (MT profile) Attribute (BI/MI profiles)|uint6_t|shift|[NC]|Scaling shift array +|Input (MT profile) Attribute (BI/MI profiles)|mul_t*|multiplier|[NC]|Scaling multiplier array +|Input (MT profile) Attribute (BI/MI profiles)|uint6_t*|shift|[NC]|Scaling shift array |Attribute|bool_t|scale32|-|if (scale32) mul_t=int32_t else mul_t=int16_t |Attribute|bool_t|double_round|-|Select double round mode |Attribute|bool_t|per_channel|-|if (per_channel) NC=shape[dims-1] else NC=1 |