diff options
author | Eric Kunze <eric.kunze@arm.com> | 2023-08-17 20:44:39 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-09-07 00:16:49 +0000 |
commit | 9601cbda5ff42dc4762e364d90093670931e1261 (patch) | |
tree | ca64fc446f49e6dedb53cc3ceb879eb88f74aa2f /include/attribute.def | |
parent | c4733b015781b044041955997f79c4667eb841a0 (diff) | |
download | serialization_lib-9601cbda5ff42dc4762e364d90093670931e1261.tar.gz |
Add new signedness attributes to RESCALE
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I96202b90bff833654735a2f2306eb782d202b6e6
Diffstat (limited to 'include/attribute.def')
-rw-r--r-- | include/attribute.def | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/attribute.def b/include/attribute.def index 9e4c461..b72f65a 100644 --- a/include/attribute.def +++ b/include/attribute.def @@ -78,14 +78,16 @@ DEF_ATTRIBUTE(Clamp, 4, float, S, min_fp, float, S, max_fp) -DEF_ATTRIBUTE(Rescale, 7, +DEF_ATTRIBUTE(Rescale, 9, int32_t, S, input_zp, int32_t, S, output_zp, int32_t, V, multiplier, int32_t, V, shift, bool, S, scale32, bool, S, double_round, - bool, S, per_channel) + bool, S, per_channel, + bool, S, input_unsigned, + bool, S, output_unsigned) DEF_ATTRIBUTE(Mul, 1, int32_t, S, shift) @@ -126,3 +128,4 @@ DEF_ATTRIBUTE(Custom, 3, DEF_ATTRIBUTE(FFT, 1, bool, S, inverse) + |