diff options
author | Eric Kunze <eric.kunze@arm.com> | 2021-09-28 16:15:42 -0700 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2021-10-04 16:22:33 -0700 |
commit | b6335b827cc58cd6776fe77907d5dfada6d4d93b (patch) | |
tree | 642fb4bd351bda570499bd0749195e1f8521c8de /chapters/ewise_unary.adoc | |
parent | c949f8a3a554728ccb6ce0ee0992fde382160cda (diff) | |
download | specification-b6335b827cc58cd6776fe77907d5dfada6d4d93b.tar.gz |
Move quantization parameters into argument tables
The TOSA specification doesn't have quantized types.
Without those types, it is cleaner to move effects of quantization
such as the zero points into the standard list of arguments, rather
than existing as a separate table.
Change-Id: I18ea2959e9d3e4a3e9a0ead7a8ca319bb4426a47
Diffstat (limited to 'chapters/ewise_unary.adoc')
-rw-r--r-- | chapters/ewise_unary.adoc | 19 |
1 files changed, 2 insertions, 17 deletions
diff --git a/chapters/ewise_unary.adoc b/chapters/ewise_unary.adoc index 036c6e3..2dc01df 100644 --- a/chapters/ewise_unary.adoc +++ b/chapters/ewise_unary.adoc @@ -56,10 +56,6 @@ Elementwise bitwise NOT of input tensor. |Output|in_t*|output|shape|Output tensor of same type, size as the input tensor |=== -*Quantization Parameters:* - -None - *Operation Function:* [source,c++] @@ -210,10 +206,6 @@ Elementwise logical NOT of input. |Output|in_t*|output|shape|Output tensor of same type, size as the input tensor |=== -*Quantization Parameters:* - -None - *Operation Function:* [source,c++] @@ -243,18 +235,11 @@ Elementwise negation operation |Argument|Type|Name|Shape|Description |Input|in_t*|input1|shape|Input tensor +|Attribute|in_t|input1_zp|-|Input 1 zero point. Must be zero for non-int8 types. +|Attribute|in_t|output_zp|-|Output zero point. Must be zero for non-int8 types. |Output|in_t*|output|shape|Output tensor of same type, size as the input tensor |=== -*Quantization Parameters:* - -|=== -|Argument|Type|Name|Shape|Description - -|Attribute|in_t|input1_zp|-|Input 1 zero point -|Attribute|in_t|output_zp|-|Output zero point -|=== - *Operation Function:* [source,c++] |