aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Kunze <eric.kunze@arm.com>2023-06-20 16:11:40 -0700
committerEric Kunze <eric.kunze@arm.com>2023-06-21 16:10:56 -0700
commit8e14dcd2f86e9a3b9c2283fb0f0325088565bbe7 (patch)
tree577fc3991702d9f6a3724a399948b5934d06f565
parentf0bc550b5852dd9e0dca91b8c59197c20b56f1f2 (diff)
downloadspecification-8e14dcd2f86e9a3b9c2283fb0f0325088565bbe7.tar.gz
Align RESCALE zp description with pseudocode
int8/uint8 zero point within the given range uint16 zero point is either 0 or 32768 other data types zero point must be 0 Signed-off-by: Eric Kunze <eric.kunze@arm.com> Change-Id: I3aa240dd8fb88a5f77b7ab90d4dbf634fbf4aa0b
-rw-r--r--tosa.xml4
1 files changed, 2 insertions, 2 deletions
diff --git a/tosa.xml b/tosa.xml
index fa0bcc2..9905dde 100644
--- a/tosa.xml
+++ b/tosa.xml
@@ -2390,11 +2390,11 @@ used.</description>
<rank min="0" max="MAX_RANK"/>
</argument>
<argument category="attribute" name="input_zp" type="tensor_t" shape="-" tensor-element-type="in_t">
- <description>Input tensor zero point. Must be zero for non-int8 types.</description>
+ <description>Input tensor zero point. int8/uint8 can have zero point within their valid range. uint16 zero point must be either 0 or 32768. All other types must have zero point equal to 0.</description>
<rank min="0" max="0"/>
</argument>
<argument category="attribute" name="output_zp" type="tensor_t" shape="-" tensor-element-type="out_t">
- <description>Output tensor zero point. Must be zero for non-int8 types.</description>
+ <description>Output tensor zero point.int8/uint8 can have zero point within their valid range. uint16 zero point must be either 0 or 32768. All other types must have zero point equal to 0.</description>
<rank min="0" max="0"/>
</argument>
<argument category="input(MT)|attribute(BI,MI)" name="multiplier" type="tensor_t" shape="[NC]" tensor-element-type="mul_t">