aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKevin Petit <kevin.petit@arm.com>2022-04-08 14:24:49 +0100
committerKevin Petit <kevin.petit@arm.com>2022-04-20 13:33:54 +0100
commit29fc289ad513a1a2633cf58fa8bb1875293686f0 (patch)
tree98fe7682d44d35189816d778f0b71cf5057a6340
parenta6ac716b995cbfe31a2549d41c6abb58f4fdce39 (diff)
downloadspecification-29fc289ad513a1a2633cf58fa8bb1875293686f0.tar.gz
Simple fixes to the arguments to CAST and RESCALE
- The input/output types for CAST should be in_t* and out_t* - The shape for the multiplier and shift arguments to RESCALE was in the wrong column Change-Id: I0a3c4ffed15e36f0c4bf8fc9b4a84df5a17a5523 Signed-off-by: Kevin Petit <kevin.petit@arm.com>
-rw-r--r--chapters/type_conversion.adoc10
1 files changed, 5 insertions, 5 deletions
diff --git a/chapters/type_conversion.adoc b/chapters/type_conversion.adoc
index 0d84bd6..1427374 100644
--- a/chapters/type_conversion.adoc
+++ b/chapters/type_conversion.adoc
@@ -1,7 +1,7 @@
//
// This confidential and proprietary software may be used only as
// authorised by a licensing agreement from ARM Limited
-// (C) COPYRIGHT 2020-2021 ARM Limited
+// (C) COPYRIGHT 2020-2022 ARM Limited
// ALL RIGHTS RESERVED
// The entire notice above must be reproduced on all authorised
// copies and copies may only be made to the extent permitted
@@ -18,8 +18,8 @@ Casts a tensor from one data type to another.
|===
|Argument|Type|Name|Shape|Description
-|Input|in_t|input|shape|Input tensor
-|Output|out_t|output|shape|Output tensor
+|Input|in_t*|input|shape|Input tensor
+|Output|out_t*|output|shape|Output tensor
|===
*Operation Function:*
@@ -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