diff options
author | James Ward <james.ward@arm.com> | 2023-02-03 13:02:00 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-02-06 19:02:24 +0000 |
commit | 6dad592daec2aeed4473a084f54e60f088597fe4 (patch) | |
tree | 605649f1f4febe0b73d0095076c1ea45a52c4fb6 /operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongOutputList_1x8x8x7_bf16_accf32_st11_kern22_pad0000 | |
parent | b00b1a1db3067c916671ce76840fd06b551b712b (diff) | |
download | conformance_tests-6dad592daec2aeed4473a084f54e60f088597fe4.tar.gz |
Create MI tests for Tensors: AVG_POOL2D, FULLY_CONNECTED, MATMUL
Signed-off-by: James Ward <james.ward@arm.com>
Change-Id: I3bf038baba78bd9a54b33e6c718e02ff5eae37ad
Diffstat (limited to 'operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongOutputList_1x8x8x7_bf16_accf32_st11_kern22_pad0000')
3 files changed, 698 insertions, 0 deletions
diff --git a/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongOutputList_1x8x8x7_bf16_accf32_st11_kern22_pad0000/desc.json b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongOutputList_1x8x8x7_bf16_accf32_st11_kern22_pad0000/desc.json new file mode 100644 index 000000000..671c6cfc2 --- /dev/null +++ b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongOutputList_1x8x8x7_bf16_accf32_st11_kern22_pad0000/desc.json @@ -0,0 +1,21 @@ +{ + "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": "Op output list does not match expected output", + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongOutputList_1x8x8x7_bf16_accf32_st11_kern22_pad0000/input-0.json b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongOutputList_1x8x8x7_bf16_accf32_st11_kern22_pad0000/input-0.json new file mode 100644 index 000000000..c3ed49ba1 --- /dev/null +++ b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongOutputList_1x8x8x7_bf16_accf32_st11_kern22_pad0000/input-0.json @@ -0,0 +1,599 @@ +{ + "type": "float32", + "data": [ + [ + [ + [ + 0.427734375, + 0.423828125, + 0.984375, + 0.41796875, + 0.921875, + 0.8515625, + 0.427734375 + ], + [ + 0.042236328125, + 0.84765625, + 0.2119140625, + 0.058349609375, + 0.8671875, + 0.65625, + 0.177734375 + ], + [ + 0.287109375, + 0.7421875, + 0.123046875, + 0.71875, + 0.45703125, + 0.8359375, + 0.640625 + ], + [ + 0.98046875, + 0.85546875, + 0.341796875, + 0.48046875, + 0.9375, + 0.1513671875, + 0.416015625 + ], + [ + 0.57421875, + 0.349609375, + 0.09375, + 0.2060546875, + 0.431640625, + 0.87109375, + 0.5703125 + ], + [ + 0.296875, + 0.16796875, + 0.6171875, + 0.1796875, + 0.0703125, + 0.032958984375, + 0.6953125 + ], + [ + 0.8828125, + 0.52734375, + 0.27734375, + 0.2041015625, + 0.275390625, + 0.3046875, + 0.6015625 + ], + [ + 0.921875, + 0.2236328125, + 0.357421875, + 0.59375, + 0.44140625, + 0.1162109375, + 0.15625 + ] + ], + [ + [ + 0.578125, + 0.60546875, + 0.5859375, + 0.8125, + 0.1923828125, + 0.44921875, + 0.46484375 + ], + [ + 0.21484375, + 0.70703125, + 0.310546875, + 0.6171875, + 0.419921875, + 0.2392578125, + 0.2060546875 + ], + [ + 0.490234375, + 0.240234375, + 0.671875, + 0.61328125, + 0.7890625, + 0.1328125, + 0.87890625 + ], + [ + 0.51953125, + 0.6484375, + 0.9765625, + 0.515625, + 0.87890625, + 0.32421875, + 0.828125 + ], + [ + 0.93359375, + 0.1865234375, + 0.498046875, + 0.89453125, + 0.35546875, + 0.6953125, + 0.1015625 + ], + [ + 0.30078125, + 0.65625, + 0.44140625, + 0.65625, + 0.55078125, + 0.92578125, + 0.1201171875 + ], + [ + 0.62109375, + 0.455078125, + 0.92578125, + 0.85546875, + 0.31640625, + 0.83203125, + 0.57421875 + ], + [ + 0.2890625, + 0.09130859375, + 0.166015625, + 0.62890625, + 0.49609375, + 0.1337890625, + 0.890625 + ] + ], + [ + [ + 0.578125, + 0.96484375, + 0.2734375, + 0.18359375, + 0.87109375, + 0.75, + 0.2119140625 + ], + [ + 0.349609375, + 0.31640625, + 0.703125, + 0.21484375, + 0.07666015625, + 0.81640625, + 0.01153564453125 + ], + [ + 0.60546875, + 0.306640625, + 0.421875, + 0.06689453125, + 0.1650390625, + 0.5, + 0.3828125 + ], + [ + 0.44921875, + 0.005218505859375, + 0.92578125, + 0.51953125, + 0.43359375, + 0.8671875, + 0.0625 + ], + [ + 0.4453125, + 0.57421875, + 0.27734375, + 0.2578125, + 0.1611328125, + 0.703125, + 0.66796875 + ], + [ + 0.408203125, + 0.10009765625, + 0.1845703125, + 0.40234375, + 0.248046875, + 0.734375, + 0.0791015625 + ], + [ + 0.390625, + 0.88671875, + 0.337890625, + 0.7578125, + 0.298828125, + 0.64453125, + 0.5546875 + ], + [ + 0.51953125, + 0.1474609375, + 0.051025390625, + 0.1328125, + 0.75390625, + 0.99609375, + 0.2578125 + ] + ], + [ + [ + 0.263671875, + 0.3828125, + 0.359375, + 0.63671875, + 0.447265625, + 0.625, + 0.09716796875 + ], + [ + 0.73828125, + 0.76953125, + 0.94921875, + 0.65234375, + 0.57421875, + 0.578125, + 0.09130859375 + ], + [ + 0.328125, + 0.88671875, + 0.8828125, + 0.953125, + 0.66796875, + 0.22265625, + 0.828125 + ], + [ + 0.578125, + 0.095703125, + 0.05859375, + 0.62109375, + 0.65625, + 0.30859375, + 0.93359375 + ], + [ + 0.17578125, + 0.154296875, + 0.369140625, + 0.498046875, + 0.46484375, + 0.69140625, + 0.1982421875 + ], + [ + 0.515625, + 0.5, + 0.90234375, + 0.8046875, + 0.87890625, + 0.875, + 0.10009765625 + ], + [ + 0.50390625, + 0.8671875, + 0.82421875, + 0.9140625, + 0.042236328125, + 0.419921875, + 0.11572265625 + ], + [ + 0.1220703125, + 0.5546875, + 0.984375, + 0.75390625, + 0.53515625, + 0.8359375, + 0.62890625 + ] + ], + [ + [ + 0.0849609375, + 0.625, + 0.0771484375, + 0.37109375, + 0.3671875, + 0.984375, + 0.126953125 + ], + [ + 0.84375, + 0.302734375, + 0.48046875, + 0.88671875, + 0.419921875, + 0.67578125, + 0.8828125 + ], + [ + 0.1982421875, + 0.330078125, + 0.60546875, + 0.373046875, + 0.44140625, + 0.7109375, + 0.8671875 + ], + [ + 0.375, + 0.265625, + 0.73046875, + 0.59375, + 0.7421875, + 0.9375, + 0.228515625 + ], + [ + 0.7578125, + 0.271484375, + 0.2451171875, + 0.71875, + 0.28515625, + 0.01275634765625, + 0.421875 + ], + [ + 0.361328125, + 0.0240478515625, + 0.34765625, + 0.359375, + 0.53125, + 0.4921875, + 0.1630859375 + ], + [ + 0.6953125, + 0.91015625, + 0.79296875, + 0.158203125, + 0.55078125, + 0.1884765625, + 0.3984375 + ], + [ + 0.875, + 0.11669921875, + 0.9375, + 0.3359375, + 0.6171875, + 0.4921875, + 0.55078125 + ] + ], + [ + [ + 0.625, + 0.08837890625, + 0.2001953125, + 0.75, + 0.75, + 0.5546875, + 0.9453125 + ], + [ + 0.043701171875, + 0.90234375, + 0.431640625, + 0.91015625, + 0.46484375, + 0.76953125, + 0.98046875 + ], + [ + 0.87109375, + 0.0888671875, + 0.78125, + 0.462890625, + 0.2890625, + 0.7109375, + 0.43359375 + ], + [ + 0.5859375, + 0.78125, + 0.8203125, + 0.466796875, + 0.439453125, + 0.412109375, + 0.67578125 + ], + [ + 0.9453125, + 0.267578125, + 0.28515625, + 0.64453125, + 0.447265625, + 0.047119140625, + 0.072265625 + ], + [ + 0.6015625, + 0.376953125, + 0.62109375, + 0.75, + 0.33984375, + 0.578125, + 0.421875 + ], + [ + 0.921875, + 0.96484375, + 0.671875, + 0.380859375, + 0.9453125, + 0.333984375, + 0.52734375 + ], + [ + 0.9375, + 0.60546875, + 0.400390625, + 0.031982421875, + 0.7890625, + 0.08642578125, + 0.08984375 + ] + ], + [ + [ + 0.2265625, + 0.62890625, + 0.890625, + 0.00830078125, + 0.67578125, + 0.51953125, + 0.62109375 + ], + [ + 0.6875, + 0.65625, + 0.828125, + 0.10888671875, + 0.22265625, + 0.84375, + 0.07080078125 + ], + [ + 0.98046875, + 0.453125, + 0.3515625, + 0.443359375, + 0.28515625, + 0.82421875, + 0.61328125 + ], + [ + 0.287109375, + 0.77734375, + 0.70703125, + 0.5859375, + 0.443359375, + 0.84765625, + 0.20703125 + ], + [ + 0.90625, + 0.59375, + 0.94140625, + 0.93359375, + 0.08349609375, + 0.333984375, + 0.65234375 + ], + [ + 0.12890625, + 0.546875, + 0.33984375, + 0.99609375, + 0.2001953125, + 0.1103515625, + 0.455078125 + ], + [ + 0.2431640625, + 0.80859375, + 0.017333984375, + 0.6484375, + 0.40625, + 0.9296875, + 0.91015625 + ], + [ + 0.796875, + 0.427734375, + 0.42578125, + 0.021240234375, + 0.92578125, + 0.9765625, + 0.2099609375 + ] + ], + [ + [ + 0.47265625, + 0.578125, + 0.5390625, + 0.478515625, + 0.60546875, + 0.7890625, + 0.4140625 + ], + [ + 0.07421875, + 0.275390625, + 0.119140625, + 0.6015625, + 0.5078125, + 0.1494140625, + 0.337890625 + ], + [ + 0.91015625, + 0.87109375, + 0.5859375, + 0.01708984375, + 0.78515625, + 0.051513671875, + 0.9140625 + ], + [ + 0.58203125, + 0.25390625, + 0.09521484375, + 0.734375, + 0.1328125, + 0.46484375, + 0.0213623046875 + ], + [ + 0.91015625, + 0.76953125, + 0.1572265625, + 0.63671875, + 0.4765625, + 0.08642578125, + 0.46484375 + ], + [ + 0.369140625, + 0.23046875, + 0.93359375, + 0.2265625, + 0.6640625, + 0.97265625, + 0.0203857421875 + ], + [ + 0.1396484375, + 0.69921875, + 0.546875, + 0.8125, + 0.478515625, + 0.9140625, + 0.2119140625 + ], + [ + 0.486328125, + 0.85546875, + 0.1357421875, + 0.578125, + 0.40625, + 0.5859375, + 0.15234375 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongOutputList_1x8x8x7_bf16_accf32_st11_kern22_pad0000/test.json b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongOutputList_1x8x8x7_bf16_accf32_st11_kern22_pad0000/test.json new file mode 100644 index 000000000..692d6ee56 --- /dev/null +++ b/operators/tensor/avg_pool2d/avg_pool2d_ERRORIF_WrongOutputList_1x8x8x7_bf16_accf32_st11_kern22_pad0000/test.json @@ -0,0 +1,78 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + 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: "FP32" + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 8, + 8, + 7 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 1, + 7, + 7, + 7 + ], + type: "BF16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |