diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 13:54:25 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 13:54:25 +0100 |
commit | d065e338624da04730c490bbaae208d111176f22 (patch) | |
tree | b9664c6e9d6080615bbde92f763b9bdbb3fe339e /operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongInputType_1x14x11x8_b_acci32_st11_kern22_pad0000 | |
parent | 4129b45c7464197b7a3415c6865282352a7fa40e (diff) | |
download | conformance_tests-d065e338624da04730c490bbaae208d111176f22.tar.gz |
Updating AVG_POOL2D tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Iea118912a210b35bffb135ce38c8a6d899aef1ed
Diffstat (limited to 'operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongInputType_1x14x11x8_b_acci32_st11_kern22_pad0000')
3 files changed, 1669 insertions, 0 deletions
diff --git a/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongInputType_1x14x11x8_b_acci32_st11_kern22_pad0000/desc.json b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongInputType_1x14x11x8_b_acci32_st11_kern22_pad0000/desc.json new file mode 100644 index 000000000..992afc22b --- /dev/null +++ b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongInputType_1x14x11x8_b_acci32_st11_kern22_pad0000/desc.json @@ -0,0 +1,22 @@ +{ + "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": 2, + "expected_failure": true, + "expected_failure_desc": "Input data type not supported for this operator", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongInputType_1x14x11x8_b_acci32_st11_kern22_pad0000/input-0.json b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongInputType_1x14x11x8_b_acci32_st11_kern22_pad0000/input-0.json new file mode 100644 index 000000000..04b1a1434 --- /dev/null +++ b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongInputType_1x14x11x8_b_acci32_st11_kern22_pad0000/input-0.json @@ -0,0 +1,1575 @@ +{ + "type": "bool", + "data": [ + [ + [ + [ + false, + true, + false, + false, + true, + true, + true, + false + ], + [ + true, + true, + false, + true, + true, + true, + false, + false + ], + [ + false, + true, + true, + false, + true, + false, + true, + false + ], + [ + true, + false, + false, + true, + true, + false, + true, + false + ], + [ + false, + true, + false, + true, + false, + false, + true, + true + ], + [ + true, + true, + true, + false, + true, + true, + true, + true + ], + [ + false, + false, + false, + false, + false, + false, + true, + true + ], + [ + true, + false, + true, + false, + false, + true, + true, + true + ], + [ + false, + false, + true, + false, + true, + false, + false, + true + ], + [ + true, + false, + false, + false, + true, + true, + false, + false + ], + [ + true, + false, + true, + true, + true, + false, + true, + true + ] + ], + [ + [ + false, + true, + true, + false, + false, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + false, + false, + false + ], + [ + true, + true, + false, + false, + false, + false, + true, + false + ], + [ + false, + false, + true, + true, + true, + true, + true, + true + ], + [ + true, + false, + false, + false, + true, + true, + true, + false + ], + [ + true, + true, + true, + true, + true, + false, + false, + false + ], + [ + false, + true, + false, + false, + false, + true, + false, + true + ], + [ + true, + false, + true, + true, + true, + false, + true, + false + ], + [ + false, + true, + false, + true, + true, + true, + false, + true + ], + [ + true, + true, + false, + false, + false, + false, + false, + false + ], + [ + true, + false, + true, + false, + true, + true, + false, + false + ] + ], + [ + [ + true, + true, + false, + true, + false, + true, + true, + false + ], + [ + false, + true, + true, + true, + true, + false, + true, + false + ], + [ + true, + false, + false, + true, + true, + true, + false, + false + ], + [ + true, + true, + true, + false, + true, + false, + true, + true + ], + [ + false, + true, + true, + true, + true, + false, + true, + false + ], + [ + true, + false, + true, + false, + false, + false, + false, + true + ], + [ + true, + true, + true, + false, + true, + false, + true, + false + ], + [ + false, + false, + true, + true, + true, + false, + false, + true + ], + [ + true, + false, + true, + false, + true, + true, + true, + false + ], + [ + true, + false, + false, + true, + false, + false, + true, + false + ], + [ + false, + false, + true, + false, + false, + true, + false, + false + ] + ], + [ + [ + true, + true, + false, + true, + false, + false, + true, + false + ], + [ + false, + false, + true, + false, + true, + false, + true, + true + ], + [ + true, + false, + true, + false, + true, + true, + false, + true + ], + [ + false, + false, + false, + false, + true, + true, + false, + false + ], + [ + false, + true, + true, + true, + false, + true, + false, + false + ], + [ + true, + false, + false, + false, + true, + true, + false, + true + ], + [ + false, + true, + false, + true, + false, + true, + false, + true + ], + [ + true, + false, + false, + false, + false, + true, + false, + true + ], + [ + false, + false, + false, + true, + false, + false, + false, + false + ], + [ + false, + true, + true, + false, + true, + true, + true, + true + ], + [ + false, + true, + true, + false, + false, + true, + true, + false + ] + ], + [ + [ + true, + true, + true, + false, + false, + true, + true, + true + ], + [ + false, + false, + false, + false, + true, + false, + false, + true + ], + [ + true, + true, + true, + true, + true, + true, + false, + false + ], + [ + true, + true, + false, + false, + false, + true, + false, + false + ], + [ + false, + true, + false, + false, + true, + false, + false, + false + ], + [ + false, + true, + false, + true, + true, + false, + true, + false + ], + [ + true, + false, + false, + true, + true, + true, + false, + true + ], + [ + false, + true, + true, + false, + false, + false, + false, + true + ], + [ + false, + true, + true, + false, + false, + true, + false, + false + ], + [ + true, + false, + false, + false, + true, + true, + true, + true + ], + [ + true, + true, + false, + true, + false, + true, + true, + false + ] + ], + [ + [ + true, + true, + true, + false, + true, + true, + false, + false + ], + [ + true, + false, + false, + true, + true, + false, + false, + false + ], + [ + true, + true, + false, + true, + true, + false, + true, + false + ], + [ + true, + false, + true, + true, + true, + true, + true, + false + ], + [ + false, + true, + false, + true, + true, + true, + false, + false + ], + [ + false, + true, + true, + true, + false, + false, + false, + false + ], + [ + true, + false, + true, + false, + true, + true, + false, + true + ], + [ + false, + false, + false, + true, + true, + false, + false, + true + ], + [ + true, + false, + false, + true, + true, + true, + false, + true + ], + [ + false, + true, + true, + false, + false, + true, + false, + true + ], + [ + false, + false, + true, + true, + false, + false, + true, + false + ] + ], + [ + [ + false, + true, + true, + false, + false, + false, + true, + false + ], + [ + true, + true, + false, + true, + false, + false, + true, + true + ], + [ + true, + true, + false, + true, + true, + true, + false, + true + ], + [ + false, + false, + false, + false, + false, + true, + true, + false + ], + [ + true, + false, + false, + false, + true, + false, + false, + true + ], + [ + true, + false, + false, + true, + false, + true, + true, + false + ], + [ + true, + false, + true, + false, + false, + true, + false, + false + ], + [ + true, + true, + false, + false, + true, + false, + true, + false + ], + [ + true, + false, + true, + false, + false, + true, + true, + false + ], + [ + false, + true, + true, + true, + false, + true, + false, + true + ], + [ + false, + false, + false, + true, + true, + false, + false, + true + ] + ], + [ + [ + false, + false, + false, + true, + true, + true, + true, + true + ], + [ + true, + false, + false, + true, + true, + true, + false, + false + ], + [ + false, + false, + true, + false, + false, + false, + false, + true + ], + [ + true, + false, + true, + true, + true, + true, + true, + true + ], + [ + false, + true, + true, + true, + false, + true, + true, + false + ], + [ + true, + true, + true, + true, + true, + false, + true, + true + ], + [ + false, + true, + false, + false, + true, + true, + false, + true + ], + [ + false, + false, + true, + false, + true, + false, + false, + true + ], + [ + false, + false, + false, + true, + false, + true, + false, + true + ], + [ + true, + false, + true, + false, + true, + false, + true, + false + ], + [ + true, + false, + false, + false, + true, + false, + true, + true + ] + ], + [ + [ + false, + false, + false, + false, + true, + true, + true, + true + ], + [ + true, + true, + false, + true, + true, + false, + true, + true + ], + [ + false, + true, + true, + true, + true, + true, + false, + false + ], + [ + true, + false, + true, + true, + false, + true, + false, + false + ], + [ + false, + false, + true, + false, + false, + false, + false, + false + ], + [ + true, + true, + false, + false, + false, + false, + true, + false + ], + [ + false, + true, + false, + true, + true, + true, + false, + true + ], + [ + true, + true, + false, + true, + true, + true, + true, + false + ], + [ + true, + true, + true, + false, + true, + true, + true, + false + ], + [ + true, + false, + true, + false, + false, + true, + true, + true + ], + [ + false, + false, + true, + true, + true, + false, + true, + true + ] + ], + [ + [ + false, + false, + false, + false, + true, + true, + false, + true + ], + [ + true, + true, + false, + true, + true, + true, + true, + false + ], + [ + true, + false, + true, + true, + true, + false, + false, + true + ], + [ + false, + false, + false, + false, + false, + false, + false, + true + ], + [ + true, + true, + true, + false, + true, + false, + false, + false + ], + [ + true, + false, + true, + false, + true, + true, + true, + false + ], + [ + true, + false, + false, + false, + false, + false, + true, + false + ], + [ + false, + true, + false, + true, + true, + true, + false, + false + ], + [ + false, + true, + false, + true, + false, + true, + false, + true + ], + [ + false, + false, + false, + true, + true, + true, + true, + true + ], + [ + true, + true, + true, + true, + true, + false, + true, + true + ] + ], + [ + [ + true, + true, + true, + true, + true, + true, + true, + false + ], + [ + true, + false, + true, + false, + false, + true, + true, + true + ], + [ + false, + true, + false, + true, + false, + true, + true, + false + ], + [ + false, + true, + true, + true, + false, + true, + false, + true + ], + [ + true, + true, + false, + false, + true, + true, + false, + true + ], + [ + true, + false, + false, + false, + false, + false, + false, + false + ], + [ + false, + true, + false, + false, + true, + false, + true, + true + ], + [ + true, + false, + true, + true, + true, + false, + false, + false + ], + [ + false, + true, + false, + true, + true, + true, + true, + true + ], + [ + false, + false, + false, + true, + false, + false, + false, + false + ], + [ + false, + false, + false, + true, + true, + false, + false, + false + ] + ], + [ + [ + false, + false, + true, + true, + true, + false, + true, + true + ], + [ + false, + false, + true, + true, + true, + false, + true, + true + ], + [ + false, + false, + false, + false, + true, + false, + false, + false + ], + [ + true, + false, + true, + false, + true, + true, + true, + true + ], + [ + false, + false, + true, + false, + false, + false, + false, + false + ], + [ + true, + false, + false, + false, + true, + false, + true, + true + ], + [ + true, + true, + true, + true, + true, + false, + true, + true + ], + [ + true, + false, + false, + false, + false, + true, + true, + false + ], + [ + true, + false, + false, + true, + false, + true, + true, + true + ], + [ + true, + false, + true, + false, + false, + true, + false, + false + ], + [ + false, + false, + true, + false, + false, + true, + false, + true + ] + ], + [ + [ + false, + false, + true, + true, + false, + false, + true, + true + ], + [ + true, + false, + true, + false, + false, + false, + false, + true + ], + [ + false, + true, + true, + true, + true, + false, + true, + false + ], + [ + false, + false, + true, + false, + true, + false, + true, + true + ], + [ + true, + true, + true, + true, + false, + false, + true, + false + ], + [ + true, + true, + true, + false, + false, + true, + false, + true + ], + [ + false, + false, + false, + false, + true, + true, + false, + true + ], + [ + false, + true, + true, + true, + true, + true, + false, + false + ], + [ + true, + true, + true, + true, + false, + false, + true, + false + ], + [ + false, + true, + false, + true, + true, + false, + true, + true + ], + [ + true, + true, + false, + true, + true, + false, + false, + false + ] + ], + [ + [ + false, + false, + true, + true, + true, + true, + false, + false + ], + [ + true, + true, + true, + false, + false, + true, + false, + false + ], + [ + false, + true, + false, + true, + false, + true, + false, + false + ], + [ + false, + false, + true, + false, + true, + true, + false, + false + ], + [ + true, + true, + true, + true, + true, + false, + true, + false + ], + [ + true, + false, + false, + true, + true, + true, + true, + false + ], + [ + false, + true, + false, + false, + true, + false, + false, + true + ], + [ + false, + true, + false, + false, + false, + true, + true, + true + ], + [ + false, + true, + false, + true, + true, + false, + false, + false + ], + [ + true, + true, + false, + true, + true, + false, + true, + false + ], + [ + false, + false, + false, + false, + false, + false, + true, + false + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongInputType_1x14x11x8_b_acci32_st11_kern22_pad0000/test.json b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongInputType_1x14x11x8_b_acci32_st11_kern22_pad0000/test.json new file mode 100644 index 000000000..662cc885e --- /dev/null +++ b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongInputType_1x14x11x8_b_acci32_st11_kern22_pad0000/test.json @@ -0,0 +1,72 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "AVG_POOL2D", + attribute_type: "PoolAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + kernel: [ + 2, + 2 + ], + stride: [ + 1, + 1 + ], + input_zp: 0, + output_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 14, + 11, + 8 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 13, + 10, + 8 + ], + type: "BOOL" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |