From 0afe61f88ce3d2f445c5f01ae5567cb1b0b7f303 Mon Sep 17 00:00:00 2001 From: Eric Kunze Date: Wed, 14 Feb 2024 16:33:31 -0800 Subject: Modify convolution operators to improve bias handling Accumulator size moves to an enumerated attribute, out_t for floating-point changes to be the size of the input. Bias for floating-point also becomes the bit width of the input type. Signed-off-by: Eric Kunze Change-Id: I7369417adbb1106ce34a1978e7f511a30272c318 --- tosa.xml | 96 ++++++++++++++++++++++++++++++++++++++-------------------------- 1 file changed, 57 insertions(+), 39 deletions(-) (limited to 'tosa.xml') diff --git a/tosa.xml b/tosa.xml index 17c82f9..675eeb6 100644 --- a/tosa.xml +++ b/tosa.xml @@ -92,8 +92,8 @@ - - Enumerated type, must be one of INT32, FP16, FP32, as defined in the Supported Data Types table for this operation + + Enumerated type, must be one of INT32, INT48, FP16, FP32, as defined in the Supported Data Types table for this operation @@ -174,6 +174,10 @@ [dilation_y, dilation_x] + + Enumerated type, must be one of INT32, INT48, FP16, FP32, as defined in the Supported Data Types table for this operation + + Input tensor zero point. Must be zero for non-int8 types. @@ -199,32 +203,33 @@ + - + - + - + - + - + - + - + - + - + @@ -268,6 +273,10 @@ [dilation_d, dilation_y, dilation_x] + + Enumerated type, must be one of INT32, INT48, FP16, FP32, as defined in the Supported Data Types table for this operation + + Input tensor zero point. Must be zero for non-int8 types. @@ -294,31 +303,31 @@ - + - + - + - + - + - + - + - + - + @@ -358,6 +367,10 @@ [dilation_y, dilation_x] + + Enumerated type, must be one of INT32, INT48, FP16, FP32, as defined in the Supported Data Types table for this operation + + Input tensor zero point. Must be zero for non-int8 types. @@ -384,31 +397,31 @@ - + - + - + - + - + - + - + - + - + @@ -684,6 +697,10 @@ + + Enumerated type, must be one of INT32, INT48, FP16, FP32, as defined in the Supported Data Types table for this operation + + Input tensor zero point. Must be zero for non-int8 types. @@ -704,37 +721,37 @@ Output tensor - + - + - + - + - + - + - + - + - + @@ -3299,10 +3316,11 @@ used. - + + -- cgit v1.2.1