From 3b7510e94f430c63f9aad3f4597265830973561c Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Thu, 13 Oct 2022 12:50:05 +0100 Subject: Updating TFLITE tests for FP16 and accumulator types Signed-off-by: Jeremy Johnson Change-Id: Ide8645ad1419a1283be36a9967b6147bdd55c567 --- ..._pool2d_1x32x32x8_qu8_st12_padVALID_kern12.json | 3 +- ...avg_pool2d_1x4x4x4_qi8_st11_padSAME_kern11.json | 3 +- ...g_pool2d_1x4x8x19_qi16_st21_padSAME_kern22.json | 3 +- ...avg_pool2d_1x7x7x9_qi8_st22_padSAME_kern11.json | 3 +- ...g_pool2d_1x8x4x17_qu8_st21_padVALID_kern21.json | 3 +- ...v2d_1x1_1x4x8x19_qu8_st11_padVALID_dilat21.json | 3 +- ...nv2d_3x3_1x7x7x9_qi8_st12_padVALID_dilat11.json | 3 +- ...v2d_5x5_1x32x32x8_qu8_st11_padSAME_dilat22.json | 3 +- ...as_1x1_1x32x32x8_qi8_st11_padVALID_dilat12.json | 3 +- ..._bias_5x5_1x7x7x9_qu8_st22_padSAME_dilat12.json | 3 +- .../test_conv2d_relu6_3x3_1x8x4x17_qi8.json | 3 +- .../test_conv2d_relu6_5x5_1x4x8x19_qu8.json | 3 +- .../test_conv2d_relu_1x1_1x32x32x8_qi8.json | 3 +- .../test_conv2d_relu_3x3_1x4x8x19_qu8.json | 3 +- ...test_conv2d_relu_n1_to_1_3x3_1x32x32x8_qu8.json | 3 +- .../test_conv2d_relu_n1_to_1_5x5_1x7x7x9_qi8.json | 3 +- .../test_conv2d_tanh_3x3_1x7x7x9_qi8.json | 3 +- .../test_conv2d_tanh_5x5_1x32x32x8_qu8.json | 3 +- ...v2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21.json | 3 +- ...nv2d_3x3_1x7x7x9_qu8_st22_padVALID_dilat11.json | 3 +- ...v2d_5x5_1x32x32x8_qi8_st11_padSAME_dilat12.json | 3 +- ..._bias_1x1_1x4x4x4_qu8_st11_padSAME_dilat11.json | 3 +- ...as_3x3_1x32x32x8_qu8_st11_padVALID_dilat22.json | 3 +- .../test_matmul_13x21x3_qu8.json | 39 ++++++++++++++-------- .../test_matmul_14x19_qi8.json | 3 +- .../test_matmul_1x4x4x4_qi8.json | 12 ++++--- ..._pool2d_1x32x32x8_qi8_st12_padVALID_kern22.json | 3 +- ...max_pool2d_1x4x4x4_qi8_st11_padSAME_kern11.json | 3 +- ...ax_pool2d_1x4x4x4_qu8_st22_padVALID_kern22.json | 3 +- ...x_pool2d_1x4x8x19_qu8_st21_padVALID_kern22.json | 3 +- ...x_pool2d_1x8x4x17_qu8_st21_padVALID_kern21.json | 3 +- 31 files changed, 92 insertions(+), 46 deletions(-) diff --git a/frameworks/tflite/operators/average_pool_2d_1x32x32x8_qu8_st12_padVALID_kern12/test_avg_pool2d_1x32x32x8_qu8_st12_padVALID_kern12.json b/frameworks/tflite/operators/average_pool_2d_1x32x32x8_qu8_st12_padVALID_kern12/test_avg_pool2d_1x32x32x8_qu8_st12_padVALID_kern12.json index a5406aae8..b94ed1270 100644 --- a/frameworks/tflite/operators/average_pool_2d_1x32x32x8_qu8_st12_padVALID_kern12/test_avg_pool2d_1x32x32x8_qu8_st12_padVALID_kern12.json +++ b/frameworks/tflite/operators/average_pool_2d_1x32x32x8_qu8_st12_padVALID_kern12/test_avg_pool2d_1x32x32x8_qu8_st12_padVALID_kern12.json @@ -74,7 +74,8 @@ 2 ], input_zp: 0, - output_zp: 0 + output_zp: 0, + accum_dtype: "INT32" }, inputs: [ "layer_1" diff --git a/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/test_avg_pool2d_1x4x4x4_qi8_st11_padSAME_kern11.json b/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/test_avg_pool2d_1x4x4x4_qi8_st11_padSAME_kern11.json index a4d853d62..f95e28eb4 100644 --- a/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/test_avg_pool2d_1x4x4x4_qi8_st11_padSAME_kern11.json +++ b/frameworks/tflite/operators/average_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/test_avg_pool2d_1x4x4x4_qi8_st11_padSAME_kern11.json @@ -28,7 +28,8 @@ 1 ], input_zp: 0, - output_zp: 0 + output_zp: 0, + accum_dtype: "INT32" }, inputs: [ "TosaInput_0" diff --git a/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/test_avg_pool2d_1x4x8x19_qi16_st21_padSAME_kern22.json b/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/test_avg_pool2d_1x4x8x19_qi16_st21_padSAME_kern22.json index 0f86886ee..25a1acfb8 100644 --- a/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/test_avg_pool2d_1x4x8x19_qi16_st21_padSAME_kern22.json +++ b/frameworks/tflite/operators/average_pool_2d_1x4x8x19_qi16_st21_padSAME_kern22/test_avg_pool2d_1x4x8x19_qi16_st21_padSAME_kern22.json @@ -28,7 +28,8 @@ 1 ], input_zp: 0, - output_zp: 0 + output_zp: 0, + accum_dtype: "INT32" }, inputs: [ "TosaInput_0" diff --git a/frameworks/tflite/operators/average_pool_2d_1x7x7x9_qi8_st22_padSAME_kern11/test_avg_pool2d_1x7x7x9_qi8_st22_padSAME_kern11.json b/frameworks/tflite/operators/average_pool_2d_1x7x7x9_qi8_st22_padSAME_kern11/test_avg_pool2d_1x7x7x9_qi8_st22_padSAME_kern11.json index 7aa017be9..51a825ef2 100644 --- a/frameworks/tflite/operators/average_pool_2d_1x7x7x9_qi8_st22_padSAME_kern11/test_avg_pool2d_1x7x7x9_qi8_st22_padSAME_kern11.json +++ b/frameworks/tflite/operators/average_pool_2d_1x7x7x9_qi8_st22_padSAME_kern11/test_avg_pool2d_1x7x7x9_qi8_st22_padSAME_kern11.json @@ -28,7 +28,8 @@ 2 ], input_zp: 0, - output_zp: 0 + output_zp: 0, + accum_dtype: "INT32" }, inputs: [ "TosaInput_0" diff --git a/frameworks/tflite/operators/average_pool_2d_1x8x4x17_qu8_st21_padVALID_kern21/test_avg_pool2d_1x8x4x17_qu8_st21_padVALID_kern21.json b/frameworks/tflite/operators/average_pool_2d_1x8x4x17_qu8_st21_padVALID_kern21/test_avg_pool2d_1x8x4x17_qu8_st21_padVALID_kern21.json index ff64948d3..21e8ebe38 100644 --- a/frameworks/tflite/operators/average_pool_2d_1x8x4x17_qu8_st21_padVALID_kern21/test_avg_pool2d_1x8x4x17_qu8_st21_padVALID_kern21.json +++ b/frameworks/tflite/operators/average_pool_2d_1x8x4x17_qu8_st21_padVALID_kern21/test_avg_pool2d_1x8x4x17_qu8_st21_padVALID_kern21.json @@ -74,7 +74,8 @@ 1 ], input_zp: 0, - output_zp: 0 + output_zp: 0, + accum_dtype: "INT32" }, inputs: [ "layer_1" diff --git a/frameworks/tflite/operators/conv_2d_1x1_1x4x8x19_qu8_st11_padVALID_dilat21/test_conv2d_1x1_1x4x8x19_qu8_st11_padVALID_dilat21.json b/frameworks/tflite/operators/conv_2d_1x1_1x4x8x19_qu8_st11_padVALID_dilat21/test_conv2d_1x1_1x4x8x19_qu8_st11_padVALID_dilat21.json index 9ea1183a6..31216317b 100644 --- a/frameworks/tflite/operators/conv_2d_1x1_1x4x8x19_qu8_st11_padVALID_dilat21/test_conv2d_1x1_1x4x8x19_qu8_st11_padVALID_dilat21.json +++ b/frameworks/tflite/operators/conv_2d_1x1_1x4x8x19_qu8_st11_padVALID_dilat21/test_conv2d_1x1_1x4x8x19_qu8_st11_padVALID_dilat21.json @@ -94,7 +94,8 @@ 1 ], input_zp: 0, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "layer_3", diff --git a/frameworks/tflite/operators/conv_2d_3x3_1x7x7x9_qi8_st12_padVALID_dilat11/test_conv2d_3x3_1x7x7x9_qi8_st12_padVALID_dilat11.json b/frameworks/tflite/operators/conv_2d_3x3_1x7x7x9_qi8_st12_padVALID_dilat11/test_conv2d_3x3_1x7x7x9_qi8_st12_padVALID_dilat11.json index 11e2ba92a..a9dceb64c 100644 --- a/frameworks/tflite/operators/conv_2d_3x3_1x7x7x9_qi8_st12_padVALID_dilat11/test_conv2d_3x3_1x7x7x9_qi8_st12_padVALID_dilat11.json +++ b/frameworks/tflite/operators/conv_2d_3x3_1x7x7x9_qi8_st12_padVALID_dilat11/test_conv2d_3x3_1x7x7x9_qi8_st12_padVALID_dilat11.json @@ -48,7 +48,8 @@ 1 ], input_zp: -1, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "TosaInput_0", diff --git a/frameworks/tflite/operators/conv_2d_5x5_1x32x32x8_qu8_st11_padSAME_dilat22/test_conv2d_5x5_1x32x32x8_qu8_st11_padSAME_dilat22.json b/frameworks/tflite/operators/conv_2d_5x5_1x32x32x8_qu8_st11_padSAME_dilat22/test_conv2d_5x5_1x32x32x8_qu8_st11_padSAME_dilat22.json index 9d36231e3..121d7dcee 100644 --- a/frameworks/tflite/operators/conv_2d_5x5_1x32x32x8_qu8_st11_padSAME_dilat22/test_conv2d_5x5_1x32x32x8_qu8_st11_padSAME_dilat22.json +++ b/frameworks/tflite/operators/conv_2d_5x5_1x32x32x8_qu8_st11_padSAME_dilat22/test_conv2d_5x5_1x32x32x8_qu8_st11_padSAME_dilat22.json @@ -94,7 +94,8 @@ 2 ], input_zp: -1, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "layer_3", diff --git a/frameworks/tflite/operators/conv_2d_bias_1x1_1x32x32x8_qi8_st11_padVALID_dilat12/test_conv2d_bias_1x1_1x32x32x8_qi8_st11_padVALID_dilat12.json b/frameworks/tflite/operators/conv_2d_bias_1x1_1x32x32x8_qi8_st11_padVALID_dilat12/test_conv2d_bias_1x1_1x32x32x8_qi8_st11_padVALID_dilat12.json index 3a97339f8..4b76a3748 100644 --- a/frameworks/tflite/operators/conv_2d_bias_1x1_1x32x32x8_qi8_st11_padVALID_dilat12/test_conv2d_bias_1x1_1x32x32x8_qi8_st11_padVALID_dilat12.json +++ b/frameworks/tflite/operators/conv_2d_bias_1x1_1x32x32x8_qi8_st11_padVALID_dilat12/test_conv2d_bias_1x1_1x32x32x8_qi8_st11_padVALID_dilat12.json @@ -48,7 +48,8 @@ 2 ], input_zp: -1, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "TosaInput_0", diff --git a/frameworks/tflite/operators/conv_2d_bias_5x5_1x7x7x9_qu8_st22_padSAME_dilat12/test_conv2d_bias_5x5_1x7x7x9_qu8_st22_padSAME_dilat12.json b/frameworks/tflite/operators/conv_2d_bias_5x5_1x7x7x9_qu8_st22_padSAME_dilat12/test_conv2d_bias_5x5_1x7x7x9_qu8_st22_padSAME_dilat12.json index 771796118..fa21c14a5 100644 --- a/frameworks/tflite/operators/conv_2d_bias_5x5_1x7x7x9_qu8_st22_padSAME_dilat12/test_conv2d_bias_5x5_1x7x7x9_qu8_st22_padSAME_dilat12.json +++ b/frameworks/tflite/operators/conv_2d_bias_5x5_1x7x7x9_qu8_st22_padSAME_dilat12/test_conv2d_bias_5x5_1x7x7x9_qu8_st22_padSAME_dilat12.json @@ -94,7 +94,8 @@ 2 ], input_zp: -1, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "layer_3", diff --git a/frameworks/tflite/operators/conv_2d_relu6_3x3_1x8x4x17_qi8/test_conv2d_relu6_3x3_1x8x4x17_qi8.json b/frameworks/tflite/operators/conv_2d_relu6_3x3_1x8x4x17_qi8/test_conv2d_relu6_3x3_1x8x4x17_qi8.json index e2b97edaf..07c7449bc 100644 --- a/frameworks/tflite/operators/conv_2d_relu6_3x3_1x8x4x17_qi8/test_conv2d_relu6_3x3_1x8x4x17_qi8.json +++ b/frameworks/tflite/operators/conv_2d_relu6_3x3_1x8x4x17_qi8/test_conv2d_relu6_3x3_1x8x4x17_qi8.json @@ -48,7 +48,8 @@ 1 ], input_zp: 0, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "TosaInput_0", diff --git a/frameworks/tflite/operators/conv_2d_relu6_5x5_1x4x8x19_qu8/test_conv2d_relu6_5x5_1x4x8x19_qu8.json b/frameworks/tflite/operators/conv_2d_relu6_5x5_1x4x8x19_qu8/test_conv2d_relu6_5x5_1x4x8x19_qu8.json index ff4f78db1..cbdf0c748 100644 --- a/frameworks/tflite/operators/conv_2d_relu6_5x5_1x4x8x19_qu8/test_conv2d_relu6_5x5_1x4x8x19_qu8.json +++ b/frameworks/tflite/operators/conv_2d_relu6_5x5_1x4x8x19_qu8/test_conv2d_relu6_5x5_1x4x8x19_qu8.json @@ -94,7 +94,8 @@ 1 ], input_zp: 0, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "layer_3", diff --git a/frameworks/tflite/operators/conv_2d_relu_1x1_1x32x32x8_qi8/test_conv2d_relu_1x1_1x32x32x8_qi8.json b/frameworks/tflite/operators/conv_2d_relu_1x1_1x32x32x8_qi8/test_conv2d_relu_1x1_1x32x32x8_qi8.json index 1e370f37b..eed968f63 100644 --- a/frameworks/tflite/operators/conv_2d_relu_1x1_1x32x32x8_qi8/test_conv2d_relu_1x1_1x32x32x8_qi8.json +++ b/frameworks/tflite/operators/conv_2d_relu_1x1_1x32x32x8_qi8/test_conv2d_relu_1x1_1x32x32x8_qi8.json @@ -48,7 +48,8 @@ 1 ], input_zp: 0, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "TosaInput_0", diff --git a/frameworks/tflite/operators/conv_2d_relu_3x3_1x4x8x19_qu8/test_conv2d_relu_3x3_1x4x8x19_qu8.json b/frameworks/tflite/operators/conv_2d_relu_3x3_1x4x8x19_qu8/test_conv2d_relu_3x3_1x4x8x19_qu8.json index 7ec38471c..d8244f56d 100644 --- a/frameworks/tflite/operators/conv_2d_relu_3x3_1x4x8x19_qu8/test_conv2d_relu_3x3_1x4x8x19_qu8.json +++ b/frameworks/tflite/operators/conv_2d_relu_3x3_1x4x8x19_qu8/test_conv2d_relu_3x3_1x4x8x19_qu8.json @@ -94,7 +94,8 @@ 1 ], input_zp: 0, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "layer_3", diff --git a/frameworks/tflite/operators/conv_2d_relu_n1_to_1_3x3_1x32x32x8_qu8/test_conv2d_relu_n1_to_1_3x3_1x32x32x8_qu8.json b/frameworks/tflite/operators/conv_2d_relu_n1_to_1_3x3_1x32x32x8_qu8/test_conv2d_relu_n1_to_1_3x3_1x32x32x8_qu8.json index e6db88f6b..7b90cc6aa 100644 --- a/frameworks/tflite/operators/conv_2d_relu_n1_to_1_3x3_1x32x32x8_qu8/test_conv2d_relu_n1_to_1_3x3_1x32x32x8_qu8.json +++ b/frameworks/tflite/operators/conv_2d_relu_n1_to_1_3x3_1x32x32x8_qu8/test_conv2d_relu_n1_to_1_3x3_1x32x32x8_qu8.json @@ -94,7 +94,8 @@ 1 ], input_zp: -1, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "layer_3", diff --git a/frameworks/tflite/operators/conv_2d_relu_n1_to_1_5x5_1x7x7x9_qi8/test_conv2d_relu_n1_to_1_5x5_1x7x7x9_qi8.json b/frameworks/tflite/operators/conv_2d_relu_n1_to_1_5x5_1x7x7x9_qi8/test_conv2d_relu_n1_to_1_5x5_1x7x7x9_qi8.json index 0347c2d09..5a24c5fca 100644 --- a/frameworks/tflite/operators/conv_2d_relu_n1_to_1_5x5_1x7x7x9_qi8/test_conv2d_relu_n1_to_1_5x5_1x7x7x9_qi8.json +++ b/frameworks/tflite/operators/conv_2d_relu_n1_to_1_5x5_1x7x7x9_qi8/test_conv2d_relu_n1_to_1_5x5_1x7x7x9_qi8.json @@ -48,7 +48,8 @@ 1 ], input_zp: 0, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "TosaInput_0", diff --git a/frameworks/tflite/operators/conv_2d_tanh_3x3_1x7x7x9_qi8/test_conv2d_tanh_3x3_1x7x7x9_qi8.json b/frameworks/tflite/operators/conv_2d_tanh_3x3_1x7x7x9_qi8/test_conv2d_tanh_3x3_1x7x7x9_qi8.json index af157703b..f0a262a99 100644 --- a/frameworks/tflite/operators/conv_2d_tanh_3x3_1x7x7x9_qi8/test_conv2d_tanh_3x3_1x7x7x9_qi8.json +++ b/frameworks/tflite/operators/conv_2d_tanh_3x3_1x7x7x9_qi8/test_conv2d_tanh_3x3_1x7x7x9_qi8.json @@ -58,7 +58,8 @@ 1 ], input_zp: 0, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "TosaInput_0", diff --git a/frameworks/tflite/operators/conv_2d_tanh_5x5_1x32x32x8_qu8/test_conv2d_tanh_5x5_1x32x32x8_qu8.json b/frameworks/tflite/operators/conv_2d_tanh_5x5_1x32x32x8_qu8/test_conv2d_tanh_5x5_1x32x32x8_qu8.json index f7c628431..b529b241c 100644 --- a/frameworks/tflite/operators/conv_2d_tanh_5x5_1x32x32x8_qu8/test_conv2d_tanh_5x5_1x32x32x8_qu8.json +++ b/frameworks/tflite/operators/conv_2d_tanh_5x5_1x32x32x8_qu8/test_conv2d_tanh_5x5_1x32x32x8_qu8.json @@ -104,7 +104,8 @@ 1 ], input_zp: 0, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "layer_4", diff --git a/frameworks/tflite/operators/depthwise_conv_2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21/test_depthwise_conv2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21.json b/frameworks/tflite/operators/depthwise_conv_2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21/test_depthwise_conv2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21.json index 42ed86255..397cef8a6 100644 --- a/frameworks/tflite/operators/depthwise_conv_2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21/test_depthwise_conv2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21.json +++ b/frameworks/tflite/operators/depthwise_conv_2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21/test_depthwise_conv2d_1x1_1x32x32x8_qi8_st11_padSAME_dilat21.json @@ -94,7 +94,8 @@ 1 ], input_zp: 0, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "TosaInput_0", diff --git a/frameworks/tflite/operators/depthwise_conv_2d_3x3_1x7x7x9_qu8_st22_padVALID_dilat11/test_depthwise_conv2d_3x3_1x7x7x9_qu8_st22_padVALID_dilat11.json b/frameworks/tflite/operators/depthwise_conv_2d_3x3_1x7x7x9_qu8_st22_padVALID_dilat11/test_depthwise_conv2d_3x3_1x7x7x9_qu8_st22_padVALID_dilat11.json index 20199b599..7c187a117 100644 --- a/frameworks/tflite/operators/depthwise_conv_2d_3x3_1x7x7x9_qu8_st22_padVALID_dilat11/test_depthwise_conv2d_3x3_1x7x7x9_qu8_st22_padVALID_dilat11.json +++ b/frameworks/tflite/operators/depthwise_conv_2d_3x3_1x7x7x9_qu8_st22_padVALID_dilat11/test_depthwise_conv2d_3x3_1x7x7x9_qu8_st22_padVALID_dilat11.json @@ -140,7 +140,8 @@ 1 ], input_zp: -1, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "layer_4", diff --git a/frameworks/tflite/operators/depthwise_conv_2d_5x5_1x32x32x8_qi8_st11_padSAME_dilat12/test_depthwise_conv2d_5x5_1x32x32x8_qi8_st11_padSAME_dilat12.json b/frameworks/tflite/operators/depthwise_conv_2d_5x5_1x32x32x8_qi8_st11_padSAME_dilat12/test_depthwise_conv2d_5x5_1x32x32x8_qi8_st11_padSAME_dilat12.json index 44becd409..7921908cd 100644 --- a/frameworks/tflite/operators/depthwise_conv_2d_5x5_1x32x32x8_qi8_st11_padSAME_dilat12/test_depthwise_conv2d_5x5_1x32x32x8_qi8_st11_padSAME_dilat12.json +++ b/frameworks/tflite/operators/depthwise_conv_2d_5x5_1x32x32x8_qi8_st11_padSAME_dilat12/test_depthwise_conv2d_5x5_1x32x32x8_qi8_st11_padSAME_dilat12.json @@ -94,7 +94,8 @@ 2 ], input_zp: 0, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "TosaInput_0", diff --git a/frameworks/tflite/operators/depthwise_conv_2d_bias_1x1_1x4x4x4_qu8_st11_padSAME_dilat11/test_depthwise_conv2d_bias_1x1_1x4x4x4_qu8_st11_padSAME_dilat11.json b/frameworks/tflite/operators/depthwise_conv_2d_bias_1x1_1x4x4x4_qu8_st11_padSAME_dilat11/test_depthwise_conv2d_bias_1x1_1x4x4x4_qu8_st11_padSAME_dilat11.json index af32485fe..bdab32ed2 100644 --- a/frameworks/tflite/operators/depthwise_conv_2d_bias_1x1_1x4x4x4_qu8_st11_padSAME_dilat11/test_depthwise_conv2d_bias_1x1_1x4x4x4_qu8_st11_padSAME_dilat11.json +++ b/frameworks/tflite/operators/depthwise_conv_2d_bias_1x1_1x4x4x4_qu8_st11_padSAME_dilat11/test_depthwise_conv2d_bias_1x1_1x4x4x4_qu8_st11_padSAME_dilat11.json @@ -140,7 +140,8 @@ 1 ], input_zp: 0, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "layer_4", diff --git a/frameworks/tflite/operators/depthwise_conv_2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22/test_depthwise_conv2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22.json b/frameworks/tflite/operators/depthwise_conv_2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22/test_depthwise_conv2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22.json index 26592512b..47da2746f 100644 --- a/frameworks/tflite/operators/depthwise_conv_2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22/test_depthwise_conv2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22.json +++ b/frameworks/tflite/operators/depthwise_conv_2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22/test_depthwise_conv2d_bias_3x3_1x32x32x8_qu8_st11_padVALID_dilat22.json @@ -140,7 +140,8 @@ 2 ], input_zp: -1, - weight_zp: 0 + weight_zp: 0, + accum_dtype: "INT32" }, inputs: [ "layer_4", diff --git a/frameworks/tflite/operators/fully_connected_13x21x3_qu8/test_matmul_13x21x3_qu8.json b/frameworks/tflite/operators/fully_connected_13x21x3_qu8/test_matmul_13x21x3_qu8.json index 4798be049..61327b3a8 100644 --- a/frameworks/tflite/operators/fully_connected_13x21x3_qu8/test_matmul_13x21x3_qu8.json +++ b/frameworks/tflite/operators/fully_connected_13x21x3_qu8/test_matmul_13x21x3_qu8.json @@ -938,7 +938,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "layer_46", @@ -1009,7 +1010,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "layer_50", @@ -1080,7 +1082,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "layer_54", @@ -1151,7 +1154,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "layer_58", @@ -1222,7 +1226,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "layer_62", @@ -1293,7 +1298,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "layer_66", @@ -1364,7 +1370,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "layer_70", @@ -1435,7 +1442,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "layer_74", @@ -1506,7 +1514,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "layer_78", @@ -1577,7 +1586,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "layer_82", @@ -1648,7 +1658,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "layer_86", @@ -1719,7 +1730,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "layer_90", @@ -1790,7 +1802,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "layer_94", diff --git a/frameworks/tflite/operators/fully_connected_14x19_qi8/test_matmul_14x19_qi8.json b/frameworks/tflite/operators/fully_connected_14x19_qi8/test_matmul_14x19_qi8.json index 6920b37ab..d84e43d6c 100644 --- a/frameworks/tflite/operators/fully_connected_14x19_qi8/test_matmul_14x19_qi8.json +++ b/frameworks/tflite/operators/fully_connected_14x19_qi8/test_matmul_14x19_qi8.json @@ -50,7 +50,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "TosaInput_0", diff --git a/frameworks/tflite/operators/fully_connected_1x4x4x4_qi8/test_matmul_1x4x4x4_qi8.json b/frameworks/tflite/operators/fully_connected_1x4x4x4_qi8/test_matmul_1x4x4x4_qi8.json index b36a732b4..4ddd05f36 100644 --- a/frameworks/tflite/operators/fully_connected_1x4x4x4_qi8/test_matmul_1x4x4x4_qi8.json +++ b/frameworks/tflite/operators/fully_connected_1x4x4x4_qi8/test_matmul_1x4x4x4_qi8.json @@ -340,7 +340,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "layer_17", @@ -411,7 +412,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "layer_21", @@ -482,7 +484,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "layer_25", @@ -553,7 +556,8 @@ attribute_type: "FullyConnectedAttribute", attribute: { input_zp: -1, - weight_zp: -1 + weight_zp: -1, + accum_dtype: "INT32" }, inputs: [ "layer_29", diff --git a/frameworks/tflite/operators/max_pool_2d_1x32x32x8_qi8_st12_padVALID_kern22/test_max_pool2d_1x32x32x8_qi8_st12_padVALID_kern22.json b/frameworks/tflite/operators/max_pool_2d_1x32x32x8_qi8_st12_padVALID_kern22/test_max_pool2d_1x32x32x8_qi8_st12_padVALID_kern22.json index 367f1e892..3417ffc79 100644 --- a/frameworks/tflite/operators/max_pool_2d_1x32x32x8_qi8_st12_padVALID_kern22/test_max_pool2d_1x32x32x8_qi8_st12_padVALID_kern22.json +++ b/frameworks/tflite/operators/max_pool_2d_1x32x32x8_qi8_st12_padVALID_kern22/test_max_pool2d_1x32x32x8_qi8_st12_padVALID_kern22.json @@ -28,7 +28,8 @@ 2 ], input_zp: 0, - output_zp: 0 + output_zp: 0, + accum_dtype: "INT32" }, inputs: [ "TosaInput_0" diff --git a/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/test_max_pool2d_1x4x4x4_qi8_st11_padSAME_kern11.json b/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/test_max_pool2d_1x4x4x4_qi8_st11_padSAME_kern11.json index c086d40b9..7aa7501fe 100644 --- a/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/test_max_pool2d_1x4x4x4_qi8_st11_padSAME_kern11.json +++ b/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qi8_st11_padSAME_kern11/test_max_pool2d_1x4x4x4_qi8_st11_padSAME_kern11.json @@ -28,7 +28,8 @@ 1 ], input_zp: 0, - output_zp: 0 + output_zp: 0, + accum_dtype: "INT32" }, inputs: [ "TosaInput_0" diff --git a/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qu8_st22_padVALID_kern22/test_max_pool2d_1x4x4x4_qu8_st22_padVALID_kern22.json b/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qu8_st22_padVALID_kern22/test_max_pool2d_1x4x4x4_qu8_st22_padVALID_kern22.json index d8e41f375..1a3e2eae4 100644 --- a/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qu8_st22_padVALID_kern22/test_max_pool2d_1x4x4x4_qu8_st22_padVALID_kern22.json +++ b/frameworks/tflite/operators/max_pool_2d_1x4x4x4_qu8_st22_padVALID_kern22/test_max_pool2d_1x4x4x4_qu8_st22_padVALID_kern22.json @@ -74,7 +74,8 @@ 2 ], input_zp: 0, - output_zp: 0 + output_zp: 0, + accum_dtype: "INT32" }, inputs: [ "layer_1" diff --git a/frameworks/tflite/operators/max_pool_2d_1x4x8x19_qu8_st21_padVALID_kern22/test_max_pool2d_1x4x8x19_qu8_st21_padVALID_kern22.json b/frameworks/tflite/operators/max_pool_2d_1x4x8x19_qu8_st21_padVALID_kern22/test_max_pool2d_1x4x8x19_qu8_st21_padVALID_kern22.json index cd8584fe0..a60e528c6 100644 --- a/frameworks/tflite/operators/max_pool_2d_1x4x8x19_qu8_st21_padVALID_kern22/test_max_pool2d_1x4x8x19_qu8_st21_padVALID_kern22.json +++ b/frameworks/tflite/operators/max_pool_2d_1x4x8x19_qu8_st21_padVALID_kern22/test_max_pool2d_1x4x8x19_qu8_st21_padVALID_kern22.json @@ -74,7 +74,8 @@ 1 ], input_zp: 0, - output_zp: 0 + output_zp: 0, + accum_dtype: "INT32" }, inputs: [ "layer_1" diff --git a/frameworks/tflite/operators/max_pool_2d_1x8x4x17_qu8_st21_padVALID_kern21/test_max_pool2d_1x8x4x17_qu8_st21_padVALID_kern21.json b/frameworks/tflite/operators/max_pool_2d_1x8x4x17_qu8_st21_padVALID_kern21/test_max_pool2d_1x8x4x17_qu8_st21_padVALID_kern21.json index 247294176..9622d7da2 100644 --- a/frameworks/tflite/operators/max_pool_2d_1x8x4x17_qu8_st21_padVALID_kern21/test_max_pool2d_1x8x4x17_qu8_st21_padVALID_kern21.json +++ b/frameworks/tflite/operators/max_pool_2d_1x8x4x17_qu8_st21_padVALID_kern21/test_max_pool2d_1x8x4x17_qu8_st21_padVALID_kern21.json @@ -74,7 +74,8 @@ 1 ], input_zp: 0, - output_zp: 0 + output_zp: 0, + accum_dtype: "INT32" }, inputs: [ "layer_1" -- cgit v1.2.1