diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:24 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:24 +0100 |
commit | 7746767e3a0a421bdf64ef5cf0c8926bcfa86d1f (patch) | |
tree | e85daedc11d437d752c2d4b9c740e5dbcad07d99 /operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10x3x12_f16 | |
parent | e6f9063246205683ac621abf062cddeb8bae1de9 (diff) | |
download | conformance_tests-7746767e3a0a421bdf64ef5cf0c8926bcfa86d1f.tar.gz |
Updating EW_UNARY tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: If11bb69ac977fb49ed719b2d5745b2a41d855853
Diffstat (limited to 'operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10x3x12_f16')
3 files changed, 518 insertions, 0 deletions
diff --git a/operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10x3x12_f16/desc.json b/operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10x3x12_f16/desc.json new file mode 100644 index 000000000..992afc22b --- /dev/null +++ b/operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10x3x12_f16/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/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10x3x12_f16/input-0.json b/operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10x3x12_f16/input-0.json new file mode 100644 index 000000000..92859695b --- /dev/null +++ b/operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10x3x12_f16/input-0.json @@ -0,0 +1,445 @@ +{ + "type": "float16", + "data": [ + [ + [ + 0.5556640625, + 0.29736328125, + 0.329833984375, + 0.93212890625, + 0.68212890625, + 0.974609375, + 0.4169921875, + 0.53759765625, + 0.487060546875, + 0.1072998046875, + 0.2366943359375, + 0.52783203125 + ], + [ + 0.0673828125, + 0.931640625, + 0.12384033203125, + 0.197998046875, + 0.76513671875, + 0.096923828125, + 0.900390625, + 0.7255859375, + 0.068603515625, + 0.69189453125, + 0.6318359375, + 0.75732421875 + ], + [ + 0.828125, + 0.71826171875, + 0.5859375, + 0.322509765625, + 0.697265625, + 0.95703125, + 0.58740234375, + 0.66455078125, + 0.43701171875, + 0.75634765625, + 0.99755859375, + 0.160400390625 + ] + ], + [ + [ + 0.202392578125, + 0.53955078125, + 0.4814453125, + 0.57177734375, + 0.049072265625, + 0.404296875, + 0.5830078125, + 0.5849609375, + 0.6572265625, + 0.72021484375, + 0.6416015625, + 0.7900390625 + ], + [ + 0.625, + 0.53759765625, + 0.60595703125, + 0.1011962890625, + 0.273193359375, + 0.52734375, + 0.873046875, + 0.67919921875, + 0.09039306640625, + 0.59228515625, + 0.2216796875, + 0.73388671875 + ], + [ + 0.82763671875, + 0.59326171875, + 0.59130859375, + 0.338623046875, + 0.4462890625, + 0.8642578125, + 0.72314453125, + 0.51953125, + 0.3681640625, + 0.050384521484375, + 0.14306640625, + 0.1929931640625 + ] + ], + [ + [ + 0.373291015625, + 0.9443359375, + 0.50537109375, + 0.23486328125, + 0.10577392578125, + 0.33837890625, + 0.81591796875, + 0.38330078125, + 0.7724609375, + 0.802734375, + 0.11083984375, + 0.60888671875 + ], + [ + 0.958984375, + 0.402099609375, + 0.050933837890625, + 0.92333984375, + 0.8837890625, + 0.52197265625, + 0.55224609375, + 0.2117919921875, + 0.8193359375, + 0.49853515625, + 0.03387451171875, + 0.68310546875 + ], + [ + 0.95068359375, + 0.8291015625, + 0.277099609375, + 0.053314208984375, + 0.9404296875, + 0.93701171875, + 0.5322265625, + 0.64208984375, + 0.462646484375, + 0.419677734375, + 0.11944580078125, + 0.09674072265625 + ] + ], + [ + [ + 0.2327880859375, + 0.83642578125, + 0.1458740234375, + 0.2266845703125, + 0.548828125, + 0.215087890625, + 0.1632080078125, + 0.5634765625, + 0.3681640625, + 0.6259765625, + 0.912109375, + 0.1510009765625 + ], + [ + 0.91357421875, + 0.90234375, + 0.8291015625, + 0.63134765625, + 0.6201171875, + 0.63916015625, + 0.6904296875, + 0.0164794921875, + 0.9580078125, + 0.58544921875, + 0.78125, + 0.377197265625 + ], + [ + 0.01239776611328125, + 0.509765625, + 0.50732421875, + 0.43701171875, + 0.339599609375, + 0.2498779296875, + 0.52734375, + 0.375244140625, + 0.9697265625, + 0.1729736328125, + 0.319580078125, + 0.2939453125 + ] + ], + [ + [ + 0.54345703125, + 0.499267578125, + 0.6435546875, + 0.9501953125, + 0.28515625, + 0.69287109375, + 0.0250396728515625, + 0.262451171875, + 0.463623046875, + 0.0309906005859375, + 0.61767578125, + 0.67822265625 + ], + [ + 0.74658203125, + 0.5166015625, + 0.60400390625, + 0.39599609375, + 0.041259765625, + 0.0999755859375, + 0.65478515625, + 0.99560546875, + 0.01580810546875, + 0.5576171875, + 0.7509765625, + 0.82666015625 + ], + [ + 0.54541015625, + 0.6201171875, + 0.69677734375, + 0.85888671875, + 0.122314453125, + 0.92626953125, + 0.0260162353515625, + 0.83642578125, + 0.07672119140625, + 0.194580078125, + 0.003894805908203125, + 0.4453125 + ] + ], + [ + [ + 0.33447265625, + 0.166015625, + 0.451171875, + 0.40234375, + 0.767578125, + 0.89306640625, + 0.65234375, + 0.1243896484375, + 0.29541015625, + 0.9130859375, + 0.0887451171875, + 0.40673828125 + ], + [ + 0.9423828125, + 0.95068359375, + 0.4111328125, + 0.66748046875, + 0.456787109375, + 0.75341796875, + 0.031585693359375, + 0.1441650390625, + 0.6142578125, + 0.2325439453125, + 0.666015625, + 0.351318359375 + ], + [ + 0.88671875, + 0.8193359375, + 0.492919921875, + 0.77294921875, + 0.271240234375, + 0.494140625, + 0.197509765625, + 0.86083984375, + 0.8232421875, + 0.90234375, + 0.87744140625, + 0.95947265625 + ] + ], + [ + [ + 0.2283935546875, + 0.931640625, + 0.5712890625, + 0.422607421875, + 0.560546875, + 0.342529296875, + 0.28857421875, + 0.2413330078125, + 0.08245849609375, + 0.49658203125, + 0.8876953125, + 0.63037109375 + ], + [ + 0.52099609375, + 0.4287109375, + 0.46435546875, + 0.209228515625, + 0.82275390625, + 0.1983642578125, + 0.716796875, + 0.759765625, + 0.57470703125, + 0.86279296875, + 0.291015625, + 0.8818359375 + ], + [ + 0.7294921875, + 0.798828125, + 0.66455078125, + 0.84619140625, + 0.9931640625, + 0.420166015625, + 0.81396484375, + 0.74462890625, + 0.452880859375, + 0.9267578125, + 0.39453125, + 0.5654296875 + ] + ], + [ + [ + 0.10595703125, + 0.225830078125, + 0.8408203125, + 0.396484375, + 0.39404296875, + 0.2459716796875, + 0.49169921875, + 0.8056640625, + 0.89501953125, + 0.07012939453125, + 0.57470703125, + 0.46728515625 + ], + [ + 0.6142578125, + 0.447265625, + 0.398681640625, + 0.471923828125, + 0.58203125, + 0.5009765625, + 0.47216796875, + 0.81787109375, + 0.74560546875, + 0.34130859375, + 0.80078125, + 0.853515625 + ], + [ + 0.1534423828125, + 0.58251953125, + 0.285400390625, + 0.7392578125, + 0.23876953125, + 0.67138671875, + 0.255126953125, + 0.51123046875, + 0.94873046875, + 0.38134765625, + 0.8759765625, + 0.98681640625 + ] + ], + [ + [ + 0.875, + 0.1658935546875, + 0.81982421875, + 0.032135009765625, + 0.393310546875, + 0.87060546875, + 0.68896484375, + 0.53271484375, + 0.387939453125, + 0.8125, + 0.70947265625, + 0.468505859375 + ], + [ + 0.892578125, + 0.22998046875, + 0.17041015625, + 0.642578125, + 0.97216796875, + 0.247314453125, + 0.2496337890625, + 0.1395263671875, + 0.8603515625, + 0.2264404296875, + 0.50341796875, + 0.99072265625 + ], + [ + 0.01213836669921875, + 0.556640625, + 0.51220703125, + 0.8076171875, + 0.355224609375, + 0.410400390625, + 0.16796875, + 0.74072265625, + 0.78466796875, + 0.13671875, + 0.3935546875, + 0.89306640625 + ] + ], + [ + [ + 0.0027065277099609375, + 0.298828125, + 0.55517578125, + 0.333984375, + 0.27197265625, + 0.4599609375, + 0.1815185546875, + 0.52978515625, + 0.70654296875, + 0.5751953125, + 0.0931396484375, + 0.84423828125 + ], + [ + 0.1749267578125, + 0.7646484375, + 0.360595703125, + 0.78271484375, + 0.206298828125, + 0.1866455078125, + 0.4970703125, + 0.032928466796875, + 0.225341796875, + 0.72412109375, + 0.83740234375, + 0.080810546875 + ], + [ + 0.8818359375, + 0.79736328125, + 0.86962890625, + 0.6982421875, + 0.67431640625, + 0.52490234375, + 0.65283203125, + 0.9189453125, + 0.10052490234375, + 0.315673828125, + 0.07244873046875, + 0.94482421875 + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10x3x12_f16/test.json b/operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10x3x12_f16/test.json new file mode 100644 index 000000000..5d7e097df --- /dev/null +++ b/operators/ew_unary/logical_not/logical_not_ERRORIF_WrongInputType_10x3x12_f16/test.json @@ -0,0 +1,51 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "LOGICAL_NOT", + attribute_type: "NONE", + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 3, + 12 + ], + type: "FP16" + }, + { + name: "result-0", + shape: [ + 10, + 3, + 12 + ], + type: "FP16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |