diff options
author | Eric Kunze <eric.kunze@arm.com> | 2023-10-27 14:38:56 -0700 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2024-02-23 23:33:34 +0000 |
commit | 2266c7aac5e6e3a3fb1d363526b9a4cd38b64bd3 (patch) | |
tree | dc72901e3cec156cec539ee8a47e13ae6b778367 | |
parent | 2aa2552bc4e2bec84c7b6b3718b5a9355bc4c2b0 (diff) | |
download | specification-2266c7aac5e6e3a3fb1d363526b9a4cd38b64bd3.tar.gz |
Accuracy requirements for RESIZE operator
Initial accuracy requirements for RESIZE calculations.
Signed-off-by: Eric Kunze <eric.kunze@arm.com>
Change-Id: I44f997df857915ca77b04dd0b87dee9ccac6e7b0
-rw-r--r-- | chapters/introduction.adoc | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/chapters/introduction.adoc b/chapters/introduction.adoc index a580472..0a94ef3 100644 --- a/chapters/introduction.adoc +++ b/chapters/introduction.adoc @@ -321,6 +321,14 @@ Let `out_ref` be the result of the fp64_t reference implementation of `sin(x)`. Let `err_bnd = abs(out_ref) * exp2(-normal_frac<in_out_t>/2)` + Then `tosa_reference_check_fp_bnd<in_out_t>(out_imp, out_ref, err_bnd)` must be true +| <<RESIZE>> +| The result corresponds to a sequence of floating-point calculations. + +The allowable error bound for the result of a resize is based on the maximum value of an element in the input tensor. + +Let `out_imp` be the implementation output. + +Let `out_ref` be the result of the fp64_t reference implementation. + +Let `err_bnd = max(abs(input)) * 0.006`. + +Then `tosa_reference_check_fp_bnd<out_t>(out_imp, out_ref, err_bnd)` must be true. + |=== ===== Operator sequence precision requirement |