diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-04-26 15:52:33 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2023-04-26 16:31:53 +0100 |
commit | 92ccc0a3f268836538098b1c204ded4b9905b728 (patch) | |
tree | d69e59370d02327d5fbce1ca700835208c2f4f89 /operators/tensor/avg_pool2d/avg_pool2d_1x9x3x7_i16_acci32_st1x8192_kern1x8192_pad0x0x8191x8190 | |
parent | b97992f592a277a96defb8c14575a5c350f96944 (diff) | |
download | conformance_tests-92ccc0a3f268836538098b1c204ded4b9905b728.tar.gz |
Updating TENSOR tests for 8k level support
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I4105e3c62b7d46e5c35d5f99f1903dfaa625bdec
Diffstat (limited to 'operators/tensor/avg_pool2d/avg_pool2d_1x9x3x7_i16_acci32_st1x8192_kern1x8192_pad0x0x8191x8190')
4 files changed, 559 insertions, 0 deletions
diff --git a/operators/tensor/avg_pool2d/avg_pool2d_1x9x3x7_i16_acci32_st1x8192_kern1x8192_pad0x0x8191x8190/Conformance-result-0.json b/operators/tensor/avg_pool2d/avg_pool2d_1x9x3x7_i16_acci32_st1x8192_kern1x8192_pad0x0x8191x8190/Conformance-result-0.json new file mode 100644 index 000000000..e4a232ba3 --- /dev/null +++ b/operators/tensor/avg_pool2d/avg_pool2d_1x9x3x7_i16_acci32_st1x8192_kern1x8192_pad0x0x8191x8190/Conformance-result-0.json @@ -0,0 +1,187 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + -21667, + 19718, + -6114, + 6139, + -3593, + 18522, + 32549 + ], + [ + -5071, + 866, + 15288, + -9625, + -18970, + -3502, + -9195 + ] + ], + [ + [ + 4256, + -32254, + 4746, + -1578, + -2230, + 11749, + 1483 + ], + [ + 10726, + -3177, + 27897, + 21112, + -11881, + 9113, + -21208 + ] + ], + [ + [ + 14498, + -27020, + -774, + 10345, + 14995, + -5335, + 27631 + ], + [ + 19380, + -958, + 10018, + 35, + 4222, + 3356, + 14109 + ] + ], + [ + [ + -12161, + -12255, + -22439, + 30231, + -23083, + -27115, + 28582 + ], + [ + 3539, + 12680, + 22073, + -8386, + -3008, + 11218, + -11294 + ] + ], + [ + [ + -23598, + -8103, + 9956, + 31891, + -32448, + 14271, + 22697 + ], + [ + 2422, + -14886, + -13218, + -4613, + -3838, + 18482, + 5950 + ] + ], + [ + [ + -31962, + -26498, + -2994, + 14587, + 21325, + -4503, + -13412 + ], + [ + 29057, + 6448, + 3168, + -420, + -28749, + -10065, + 16796 + ] + ], + [ + [ + -29874, + 24851, + 12091, + -14162, + 18218, + 22078, + -29936 + ], + [ + -8857, + -7990, + 22277, + -2590, + 17338, + -27345, + -3407 + ] + ], + [ + [ + -16986, + -3062, + -23395, + 23222, + 18138, + 20208, + -19779 + ], + [ + -32113, + 2194, + -21609, + 15606, + 16887, + 531, + -6327 + ] + ], + [ + [ + 30355, + -17135, + -13907, + 22898, + -16720, + -29018, + 11084 + ], + [ + 20341, + 26416, + 12267, + -27513, + 7481, + 1569, + -6166 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/avg_pool2d/avg_pool2d_1x9x3x7_i16_acci32_st1x8192_kern1x8192_pad0x0x8191x8190/desc.json b/operators/tensor/avg_pool2d/avg_pool2d_1x9x3x7_i16_acci32_st1x8192_kern1x8192_pad0x0x8191x8190/desc.json new file mode 100644 index 000000000..279cf7380 --- /dev/null +++ b/operators/tensor/avg_pool2d/avg_pool2d_1x9x3x7_i16_acci32_st1x8192_kern1x8192_pad0x0x8191x8190/desc.json @@ -0,0 +1,27 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0" + ], + "ifm_file": [ + "input-0.npy" + ], + "ofm_name": [ + "result-0" + ], + "ofm_file": [ + "result-0.npy" + ], + "expected_return_code": 0, + "expected_failure": false, + "expected_result_file": [ + "Conformance-result-0.npy" + ], + "profile": [ + "tosa-bi", + "tosa-mi" + ], + "tag": [ + "8k_level" + ] +}
\ No newline at end of file diff --git a/operators/tensor/avg_pool2d/avg_pool2d_1x9x3x7_i16_acci32_st1x8192_kern1x8192_pad0x0x8191x8190/input-0.json b/operators/tensor/avg_pool2d/avg_pool2d_1x9x3x7_i16_acci32_st1x8192_kern1x8192_pad0x0x8191x8190/input-0.json new file mode 100644 index 000000000..a2bc2e93c --- /dev/null +++ b/operators/tensor/avg_pool2d/avg_pool2d_1x9x3x7_i16_acci32_st1x8192_kern1x8192_pad0x0x8191x8190/input-0.json @@ -0,0 +1,268 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + -21667, + 19718, + -6114, + 6139, + -3593, + 18522, + 32549 + ], + [ + 19340, + 28270, + 29230, + -26863, + -16163, + 14539, + 5903 + ], + [ + -29482, + -26539, + 1346, + 7613, + -21777, + -21543, + -24292 + ] + ], + [ + [ + 4256, + -32254, + 4746, + -1578, + -2230, + 11749, + 1483 + ], + [ + 14925, + 17296, + 27532, + 19611, + 1160, + -515, + -17321 + ], + [ + 6526, + -23650, + 28261, + 22612, + -24922, + 18740, + -25094 + ] + ], + [ + [ + 14498, + -27020, + -774, + 10345, + 14995, + -5335, + 27631 + ], + [ + 17977, + -19120, + 11221, + 15108, + -10903, + 15612, + 26107 + ], + [ + 20782, + 17205, + 8814, + -15039, + 19347, + -8901, + 2110 + ] + ], + [ + [ + -12161, + -12255, + -22439, + 30231, + -23083, + -27115, + 28582 + ], + [ + 3605, + -4070, + 15564, + -7647, + -24385, + 15052, + -21234 + ], + [ + 3472, + 29429, + 28582, + -9124, + 18369, + 7384, + -1353 + ] + ], + [ + [ + -23598, + -8103, + 9956, + 31891, + -32448, + 14271, + 22697 + ], + [ + 29569, + -4994, + -25004, + -15010, + 22972, + 24768, + 8983 + ], + [ + -24725, + -24778, + -1431, + 5784, + -30647, + 12196, + 2917 + ] + ], + [ + [ + -31962, + -26498, + -2994, + 14587, + 21325, + -4503, + -13412 + ], + [ + 30691, + -2717, + -12099, + -3781, + -31976, + -12981, + 1019 + ], + [ + 27423, + 15612, + 18434, + 2942, + -25521, + -7149, + 32573 + ] + ], + [ + [ + -29874, + 24851, + 12091, + -14162, + 18218, + 22078, + -29936 + ], + [ + -25794, + 10862, + 32709, + -31198, + 10858, + -23821, + 9838 + ], + [ + 8081, + -26841, + 11844, + 26019, + 23818, + -30868, + -16652 + ] + ], + [ + [ + -16986, + -3062, + -23395, + 23222, + 18138, + 20208, + -19779 + ], + [ + -31813, + 26911, + -13835, + 10241, + 26832, + -30399, + -32410 + ], + [ + -32413, + -22524, + -29383, + 20970, + 6941, + 31460, + 19757 + ] + ], + [ + [ + 30355, + -17135, + -13907, + 22898, + -16720, + -29018, + 11084 + ], + [ + 19723, + 30683, + 28036, + -24889, + 17832, + 22683, + 12984 + ], + [ + 20958, + 22149, + -3503, + -30137, + -2871, + -19545, + -25315 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/avg_pool2d/avg_pool2d_1x9x3x7_i16_acci32_st1x8192_kern1x8192_pad0x0x8191x8190/test.json b/operators/tensor/avg_pool2d/avg_pool2d_1x9x3x7_i16_acci32_st1x8192_kern1x8192_pad0x0x8191x8190/test.json new file mode 100644 index 000000000..b37a34450 --- /dev/null +++ b/operators/tensor/avg_pool2d/avg_pool2d_1x9x3x7_i16_acci32_st1x8192_kern1x8192_pad0x0x8191x8190/test.json @@ -0,0 +1,77 @@ +{ + version: { + _major: 0, + _minor: 70, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + blocks: [ + { + name: "main", + operators: [ + { + op: "AVG_POOL2D", + attribute_type: "PoolAttribute", + attribute: { + pad: [ + 0, + 0, + 8191, + 8190 + ], + kernel: [ + 1, + 8192 + ], + stride: [ + 1, + 8192 + ], + input_zp: 0, + output_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 9, + 3, + 7 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 1, + 9, + 2, + 7 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |