From b5b067819e5de11153b41cf3d26da4f3f9dd23e8 Mon Sep 17 00:00:00 2001 From: Dominic Symes Date: Thu, 27 Jul 2023 11:50:57 +0100 Subject: Main conformance: Add local bound flag for convolutions Adds a local_bound flag to convolution operations. If the local_bound flag is true then the output accuracy for floating-point is measured relative to the input tensor data local to the particular convolution output. If the local_bound flag is false then the output accuracy for floating-point is measured relative to the whole input tensor. This accuracy measure is the default and more approapriate for implementations with non local optimizations (such as transform based fast convolutions). Signed-off-by: Dominic Symes Change-Id: I64e3e4981a63e26e6391149e28d5d71e7ef5560a --- tosa.xml | 40 ++++++++++++++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) (limited to 'tosa.xml') diff --git a/tosa.xml b/tosa.xml index d3889a2..53f8000 100644 --- a/tosa.xml +++ b/tosa.xml @@ -159,6 +159,14 @@ Weight zero point. Must be zero for non-int8 types. + + + This optional attribute affects the floating-point compliance error bound. + The default of false allows for direct and transform based, fast convolution algorithms. + Only set to true if direct dot-product calculation precision is required. + + + Output tensor @@ -236,6 +244,14 @@ Weight zero point. Must be zero for non-int8 types. + + + This optional attribute affects the floating-point compliance error bound. + The default of false allows for direct and transform based, fast convolution algorithms. + Only set to true if direct dot-product calculation precision is required. + + + Output tensor @@ -309,6 +325,14 @@ Weight zero point. Must be zero for non-int8 types. + + + This optional attribute affects the floating-point compliance error bound. + The default of false allows for direct and transform based, fast convolution algorithms. + Only set to true if direct dot-product calculation precision is required. + + + Output tensor @@ -360,6 +384,14 @@ Real part of the complex output. + + + This optional attribute affects the floating-point compliance error bound. + The default of false allows for direct and transform based, fast convolution algorithms. + Only set to true if direct dot-product calculation precision is required. + + + Imaginary part of the complex output. @@ -592,6 +624,14 @@ Weight zero point. Must be zero for non-int8 types. + + + This optional attribute affects the floating-point compliance error bound. + The default of false allows for direct and transform based, fast convolution algorithms. + Only set to true if direct dot-product calculation precision is required. + + + Output tensor -- cgit v1.2.1