diff options
author | James Ward <james.ward@arm.com> | 2022-12-14 12:54:33 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2022-12-15 16:42:48 +0000 |
commit | 1aa23bd44af0ae508dc83d26e66dfc6d68d837f8 (patch) | |
tree | b8eb2bbc9481a662dfe90b7f056e8a2670626034 /operators/ew_unary/abs/abs_ERRORIF_WrongOutputList_10x1x6x7_bf16 | |
parent | 263d638929db1393196f171254a9e87e70983046 (diff) | |
download | conformance_tests-1aa23bd44af0ae508dc83d26e66dfc6d68d837f8.tar.gz |
Create MI tests for EW Unary: ABS, CEIL, FLOOR, NEGATE
Signed-off-by: James Ward <james.ward@arm.com>
Change-Id: I2359051636ec6f3924bfc854c227993a883067cc
Diffstat (limited to 'operators/ew_unary/abs/abs_ERRORIF_WrongOutputList_10x1x6x7_bf16')
3 files changed, 659 insertions, 0 deletions
diff --git a/operators/ew_unary/abs/abs_ERRORIF_WrongOutputList_10x1x6x7_bf16/desc.json b/operators/ew_unary/abs/abs_ERRORIF_WrongOutputList_10x1x6x7_bf16/desc.json new file mode 100644 index 000000000..671c6cfc2 --- /dev/null +++ b/operators/ew_unary/abs/abs_ERRORIF_WrongOutputList_10x1x6x7_bf16/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/ew_unary/abs/abs_ERRORIF_WrongOutputList_10x1x6x7_bf16/input-0.json b/operators/ew_unary/abs/abs_ERRORIF_WrongOutputList_10x1x6x7_bf16/input-0.json new file mode 100644 index 000000000..a3c22dee6 --- /dev/null +++ b/operators/ew_unary/abs/abs_ERRORIF_WrongOutputList_10x1x6x7_bf16/input-0.json @@ -0,0 +1,585 @@ +{ + "type": "float32", + "data": [ + [ + [ + [ + 0.234375, + 0.87890625, + 0.75, + 0.1884765625, + 0.2138671875, + 0.47265625, + 0.62890625 + ], + [ + 0.58203125, + 0.283203125, + 0.9453125, + 0.83203125, + 0.6484375, + 0.90625, + 0.29296875 + ], + [ + 0.298828125, + 0.30859375, + 0.16015625, + 0.1396484375, + 0.90625, + 0.85546875, + 0.546875 + ], + [ + 0.66015625, + 0.23828125, + 0.0228271484375, + 0.44140625, + 0.66796875, + 0.6796875, + 0.6015625 + ], + [ + 0.921875, + 0.208984375, + 0.26171875, + 0.07958984375, + 0.93359375, + 0.453125, + 0.400390625 + ], + [ + 0.984375, + 0.427734375, + 0.333984375, + 0.2080078125, + 0.439453125, + 0.68359375, + 0.9140625 + ] + ] + ], + [ + [ + [ + 0.1904296875, + 0.69140625, + 0.006622314453125, + 0.80078125, + 0.279296875, + 0.0390625, + 0.392578125 + ], + [ + 0.890625, + 0.232421875, + 0.287109375, + 0.1669921875, + 0.98046875, + 0.431640625, + 0.9453125 + ], + [ + 0.091796875, + 0.447265625, + 0.47265625, + 0.255859375, + 0.49609375, + 0.349609375, + 0.24609375 + ], + [ + 0.365234375, + 0.6328125, + 0.466796875, + 0.408203125, + 0.8515625, + 0.64453125, + 0.63671875 + ], + [ + 0.2216796875, + 0.75, + 0.036865234375, + 0.212890625, + 0.412109375, + 0.88671875, + 0.0279541015625 + ], + [ + 0.443359375, + 0.11962890625, + 0.2294921875, + 0.404296875, + 0.09814453125, + 0.828125, + 0.08251953125 + ] + ] + ], + [ + [ + [ + 0.58203125, + 0.1630859375, + 0.1064453125, + 0.4609375, + 0.34375, + 0.045166015625, + 0.064453125 + ], + [ + 0.298828125, + 0.78125, + 0.84765625, + 0.06591796875, + 0.1708984375, + 0.337890625, + 0.6484375 + ], + [ + 0.28515625, + 0.2216796875, + 0.5859375, + 0.6796875, + 0.486328125, + 0.66796875, + 0.00408935546875 + ], + [ + 0.326171875, + 0.609375, + 0.6484375, + 0.1943359375, + 0.33203125, + 0.2255859375, + 0.8984375 + ], + [ + 0.294921875, + 0.87890625, + 0.8828125, + 0.5234375, + 0.8671875, + 0.07666015625, + 0.1259765625 + ], + [ + 0.40625, + 0.69140625, + 0.96875, + 0.466796875, + 0.007354736328125, + 0.1806640625, + 0.4375 + ] + ] + ], + [ + [ + [ + 0.6875, + 0.5859375, + 0.875, + 0.263671875, + 0.5390625, + 0.1435546875, + 0.64453125 + ], + [ + 0.76171875, + 0.51171875, + 0.447265625, + 0.185546875, + 0.93359375, + 0.60546875, + 0.8125 + ], + [ + 0.024169921875, + 0.25, + 0.48046875, + 0.53515625, + 0.404296875, + 0.3359375, + 0.44921875 + ], + [ + 0.365234375, + 0.0400390625, + 0.69140625, + 0.76953125, + 0.310546875, + 0.96484375, + 0.984375 + ], + [ + 0.56640625, + 0.79296875, + 0.54296875, + 0.259765625, + 0.06982421875, + 0.34375, + 0.1845703125 + ], + [ + 0.921875, + 0.96875, + 0.53125, + 0.5625, + 0.9296875, + 0.74609375, + 0.1611328125 + ] + ] + ], + [ + [ + [ + 0.94921875, + 0.5703125, + 0.0206298828125, + 0.1953125, + 0.79296875, + 0.126953125, + 0.84765625 + ], + [ + 0.78515625, + 0.03515625, + 0.330078125, + 0.50390625, + 0.07568359375, + 0.578125, + 0.9765625 + ], + [ + 0.59765625, + 0.4921875, + 0.86328125, + 0.9609375, + 0.8984375, + 0.036865234375, + 0.099609375 + ], + [ + 0.61328125, + 0.2265625, + 0.51953125, + 0.8359375, + 0.9375, + 0.33203125, + 0.84765625 + ], + [ + 0.50390625, + 0.65625, + 0.125, + 0.06298828125, + 0.77734375, + 0.59765625, + 0.8203125 + ], + [ + 0.11572265625, + 0.171875, + 0.06298828125, + 0.6484375, + 0.61328125, + 0.423828125, + 0.134765625 + ] + ] + ], + [ + [ + [ + 0.0238037109375, + 0.2578125, + 0.0027923583984375, + 0.9453125, + 0.169921875, + 0.263671875, + 0.796875 + ], + [ + 0.9921875, + 0.6171875, + 0.251953125, + 0.451171875, + 0.0595703125, + 0.10888671875, + 0.70703125 + ], + [ + 0.828125, + 0.26953125, + 0.73828125, + 0.63671875, + 0.5078125, + 0.2890625, + 0.984375 + ], + [ + 0.2470703125, + 0.2080078125, + 0.10986328125, + 0.65625, + 0.8984375, + 0.1337890625, + 0.10400390625 + ], + [ + 0.90234375, + 0.66015625, + 0.96875, + 0.70703125, + 0.76953125, + 0.4609375, + 0.23828125 + ], + [ + 0.56640625, + 0.357421875, + 0.46875, + 0.515625, + 0.0264892578125, + 0.60546875, + 0.357421875 + ] + ] + ], + [ + [ + [ + 0.80859375, + 0.05615234375, + 0.5546875, + 0.359375, + 0.09326171875, + 0.412109375, + 0.408203125 + ], + [ + 0.75, + 0.1513671875, + 0.828125, + 0.0478515625, + 0.515625, + 0.6484375, + 0.0142822265625 + ], + [ + 0.06884765625, + 0.2734375, + 0.380859375, + 0.345703125, + 0.96875, + 0.166015625, + 0.890625 + ], + [ + 0.94140625, + 0.1748046875, + 0.7578125, + 0.99609375, + 0.2470703125, + 0.5, + 0.7578125 + ], + [ + 0.734375, + 0.83203125, + 0.34765625, + 0.12060546875, + 0.67578125, + 0.337890625, + 0.64453125 + ], + [ + 0.47265625, + 0.45703125, + 0.87890625, + 0.63671875, + 0.62109375, + 0.96875, + 0.26953125 + ] + ] + ], + [ + [ + [ + 0.6875, + 0.35546875, + 0.59765625, + 0.81640625, + 0.921875, + 0.42578125, + 0.83203125 + ], + [ + 0.333984375, + 0.66015625, + 0.875, + 0.68359375, + 0.703125, + 0.8359375, + 0.251953125 + ], + [ + 0.74609375, + 0.63671875, + 0.54296875, + 0.97265625, + 0.412109375, + 0.234375, + 0.8359375 + ], + [ + 0.1845703125, + 0.7421875, + 0.92578125, + 0.8203125, + 0.6328125, + 0.921875, + 0.48828125 + ], + [ + 0.0751953125, + 0.734375, + 0.71484375, + 0.86328125, + 0.404296875, + 0.14453125, + 0.1025390625 + ], + [ + 0.34375, + 0.7890625, + 0.51953125, + 0.169921875, + 0.2412109375, + 0.34765625, + 0.478515625 + ] + ] + ], + [ + [ + [ + 0.8359375, + 0.9921875, + 0.59765625, + 0.388671875, + 0.1826171875, + 0.5078125, + 0.609375 + ], + [ + 0.326171875, + 0.322265625, + 0.828125, + 0.65625, + 0.44921875, + 0.5546875, + 0.50390625 + ], + [ + 0.173828125, + 0.8671875, + 0.0908203125, + 0.212890625, + 0.55859375, + 0.4609375, + 0.59375 + ], + [ + 0.91796875, + 0.28515625, + 0.150390625, + 0.12109375, + 0.058837890625, + 0.7890625, + 0.45703125 + ], + [ + 0.25390625, + 0.671875, + 0.77734375, + 0.93359375, + 0.3984375, + 0.6875, + 0.26953125 + ], + [ + 0.86328125, + 0.90625, + 0.62890625, + 0.65625, + 0.65625, + 0.58984375, + 0.4375 + ] + ] + ], + [ + [ + [ + 0.73828125, + 0.9765625, + 0.7421875, + 0.30859375, + 0.5, + 0.59375, + 0.08203125 + ], + [ + 0.490234375, + 0.10205078125, + 0.5078125, + 0.0869140625, + 0.361328125, + 0.953125, + 0.0074462890625 + ], + [ + 0.2734375, + 0.37109375, + 0.58984375, + 0.96484375, + 0.63671875, + 0.890625, + 0.162109375 + ], + [ + 0.287109375, + 0.88671875, + 0.005157470703125, + 0.453125, + 0.451171875, + 0.9453125, + 0.44921875 + ], + [ + 0.90625, + 0.58203125, + 0.298828125, + 0.1474609375, + 0.48828125, + 0.017578125, + 0.333984375 + ], + [ + 0.51953125, + 0.5546875, + 0.443359375, + 0.9609375, + 0.1474609375, + 0.99609375, + 0.6875 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/abs/abs_ERRORIF_WrongOutputList_10x1x6x7_bf16/test.json b/operators/ew_unary/abs/abs_ERRORIF_WrongOutputList_10x1x6x7_bf16/test.json new file mode 100644 index 000000000..9fa582001 --- /dev/null +++ b/operators/ew_unary/abs/abs_ERRORIF_WrongOutputList_10x1x6x7_bf16/test.json @@ -0,0 +1,53 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "ABS", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 1, + 6, + 7 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 10, + 1, + 6, + 7 + ], + type: "BF16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |