aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2023-01-04 14:47:16 +0000
committerEric Kunze <eric.kunze@arm.com>2023-01-11 22:53:36 +0000
commit007a2c7c0743b002587cd5e7b4c6b6acbcaedff8 (patch)
tree03fd6fc8fb2517b07bd9b9a5b31a65848ff1f2db /operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16
parentc9b776bfc8433d9d4ef1cd9a5502d1b35827ff27 (diff)
downloadconformance_tests-007a2c7c0743b002587cd5e7b4c6b6acbcaedff8.tar.gz
Create MI tests for EW Binary: ADD, SUB, MUL
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Iefd40317b8e2a4ff74e8f835d580a2fc623c5875
Diffstat (limited to 'operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16')
-rw-r--r--operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/desc.json23
-rw-r--r--operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/input-0.json1071
-rw-r--r--operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/input-1.json87
-rw-r--r--operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/test.json62
4 files changed, 1243 insertions, 0 deletions
diff --git a/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/desc.json b/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/desc.json
new file mode 100644
index 000000000..4517bc2ab
--- /dev/null
+++ b/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/desc.json
@@ -0,0 +1,23 @@
+{
+ "tosa_file": "test.json",
+ "ifm_name": [
+ "input-0",
+ "input-1"
+ ],
+ "ifm_file": [
+ "input-0.npy",
+ "input-1.npy"
+ ],
+ "ofm_name": [
+ "result-0"
+ ],
+ "ofm_file": [
+ "result-0.npy"
+ ],
+ "expected_return_code": 2,
+ "expected_failure": true,
+ "expected_failure_desc": "Output data type not supported for this configuration of operator",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/input-0.json b/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/input-0.json
new file mode 100644
index 000000000..d28ea9698
--- /dev/null
+++ b/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/input-0.json
@@ -0,0 +1,1071 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ [
+ 0.73046875,
+ 0.212890625,
+ 0.08203125,
+ 0.69921875,
+ 0.90625,
+ 0.87109375,
+ 0.376953125,
+ 0.9375,
+ 0.08056640625,
+ 0.06494140625,
+ 0.54296875,
+ 0.69140625,
+ 0.2734375,
+ 0.5859375
+ ],
+ [
+ 0.056396484375,
+ 0.8984375,
+ 0.55859375,
+ 0.94140625,
+ 0.578125,
+ 0.84765625,
+ 0.94921875,
+ 0.46875,
+ 0.328125,
+ 0.322265625,
+ 0.369140625,
+ 0.263671875,
+ 0.9375,
+ 0.52734375
+ ],
+ [
+ 0.60546875,
+ 0.068359375,
+ 0.87890625,
+ 0.080078125,
+ 0.51171875,
+ 0.86328125,
+ 0.1044921875,
+ 0.828125,
+ 0.71484375,
+ 0.5390625,
+ 0.333984375,
+ 0.72265625,
+ 0.9375,
+ 0.1630859375
+ ],
+ [
+ 0.006011962890625,
+ 0.00433349609375,
+ 0.984375,
+ 0.5546875,
+ 0.50390625,
+ 0.189453125,
+ 0.3046875,
+ 0.60546875,
+ 0.1484375,
+ 0.5,
+ 0.0164794921875,
+ 0.7421875,
+ 0.2001953125,
+ 0.9765625
+ ],
+ [
+ 0.9609375,
+ 0.09228515625,
+ 0.4765625,
+ 0.28515625,
+ 0.55078125,
+ 0.5703125,
+ 0.7578125,
+ 0.63671875,
+ 0.169921875,
+ 0.5234375,
+ 0.9375,
+ 0.032470703125,
+ 0.04345703125,
+ 0.24609375
+ ]
+ ],
+ [
+ [
+ 0.76171875,
+ 0.99609375,
+ 0.1806640625,
+ 0.2890625,
+ 0.859375,
+ 0.6484375,
+ 0.310546875,
+ 0.6953125,
+ 0.1787109375,
+ 0.7109375,
+ 0.109375,
+ 0.5703125,
+ 0.48828125,
+ 0.435546875
+ ],
+ [
+ 0.54296875,
+ 0.98828125,
+ 0.53125,
+ 0.15234375,
+ 0.1904296875,
+ 0.240234375,
+ 0.73046875,
+ 0.1845703125,
+ 0.20703125,
+ 0.9765625,
+ 0.75390625,
+ 0.37890625,
+ 0.58203125,
+ 0.46484375
+ ],
+ [
+ 0.61328125,
+ 0.953125,
+ 0.78515625,
+ 0.51953125,
+ 0.146484375,
+ 0.06298828125,
+ 0.486328125,
+ 0.06591796875,
+ 0.9765625,
+ 0.50390625,
+ 0.1611328125,
+ 0.2333984375,
+ 0.2265625,
+ 0.51171875
+ ],
+ [
+ 0.439453125,
+ 0.625,
+ 0.400390625,
+ 0.671875,
+ 0.375,
+ 0.306640625,
+ 0.04052734375,
+ 0.79296875,
+ 0.5,
+ 0.197265625,
+ 0.45703125,
+ 0.328125,
+ 0.21484375,
+ 0.6640625
+ ],
+ [
+ 0.462890625,
+ 0.4296875,
+ 0.466796875,
+ 0.6484375,
+ 0.796875,
+ 0.4609375,
+ 0.5390625,
+ 0.64453125,
+ 0.1748046875,
+ 0.76953125,
+ 0.032958984375,
+ 0.2373046875,
+ 0.984375,
+ 0.62109375
+ ]
+ ],
+ [
+ [
+ 0.421875,
+ 0.734375,
+ 0.388671875,
+ 0.361328125,
+ 0.75,
+ 0.466796875,
+ 0.470703125,
+ 0.111328125,
+ 0.82421875,
+ 0.345703125,
+ 0.5625,
+ 0.408203125,
+ 0.60546875,
+ 0.5234375
+ ],
+ [
+ 0.95703125,
+ 0.95703125,
+ 0.169921875,
+ 0.890625,
+ 0.4375,
+ 0.466796875,
+ 0.73828125,
+ 0.50390625,
+ 0.71875,
+ 0.41796875,
+ 0.72265625,
+ 0.490234375,
+ 0.11181640625,
+ 0.59765625
+ ],
+ [
+ 0.671875,
+ 0.2470703125,
+ 0.6640625,
+ 0.9921875,
+ 0.482421875,
+ 0.310546875,
+ 0.169921875,
+ 0.1962890625,
+ 0.2265625,
+ 0.359375,
+ 0.0255126953125,
+ 0.4765625,
+ 0.8828125,
+ 0.46484375
+ ],
+ [
+ 0.5078125,
+ 0.5703125,
+ 0.97265625,
+ 0.2890625,
+ 0.95703125,
+ 0.76171875,
+ 0.44140625,
+ 0.83984375,
+ 0.953125,
+ 0.9375,
+ 0.451171875,
+ 0.90625,
+ 0.703125,
+ 0.07763671875
+ ],
+ [
+ 0.03662109375,
+ 0.3984375,
+ 0.64453125,
+ 0.890625,
+ 0.037353515625,
+ 0.26953125,
+ 0.74609375,
+ 0.36328125,
+ 0.6015625,
+ 0.396484375,
+ 0.20703125,
+ 0.060302734375,
+ 0.53515625,
+ 0.1845703125
+ ]
+ ],
+ [
+ [
+ 0.0693359375,
+ 0.30859375,
+ 0.92578125,
+ 0.55859375,
+ 0.2392578125,
+ 0.6171875,
+ 0.76953125,
+ 0.84765625,
+ 0.98828125,
+ 0.6171875,
+ 0.431640625,
+ 0.67578125,
+ 0.10986328125,
+ 0.734375
+ ],
+ [
+ 0.27734375,
+ 0.6640625,
+ 0.46484375,
+ 0.251953125,
+ 0.76953125,
+ 0.875,
+ 0.5703125,
+ 0.8359375,
+ 0.8359375,
+ 0.2421875,
+ 0.609375,
+ 0.9921875,
+ 0.11474609375,
+ 0.64453125
+ ],
+ [
+ 0.365234375,
+ 0.38671875,
+ 0.060546875,
+ 0.279296875,
+ 0.8515625,
+ 0.059326171875,
+ 0.306640625,
+ 0.984375,
+ 0.14453125,
+ 0.76171875,
+ 0.9921875,
+ 0.88671875,
+ 0.8515625,
+ 0.99609375
+ ],
+ [
+ 0.271484375,
+ 0.95703125,
+ 0.5390625,
+ 0.10595703125,
+ 0.86328125,
+ 0.1298828125,
+ 0.1767578125,
+ 0.0006103515625,
+ 0.376953125,
+ 0.416015625,
+ 0.2578125,
+ 0.81640625,
+ 0.87890625,
+ 0.29296875
+ ],
+ [
+ 0.51953125,
+ 0.94140625,
+ 0.1796875,
+ 0.21875,
+ 0.375,
+ 0.2412109375,
+ 0.03662109375,
+ 0.8984375,
+ 0.052490234375,
+ 0.36328125,
+ 0.09521484375,
+ 0.34765625,
+ 0.10791015625,
+ 0.11083984375
+ ]
+ ],
+ [
+ [
+ 0.640625,
+ 0.44140625,
+ 0.271484375,
+ 0.953125,
+ 0.96875,
+ 0.609375,
+ 0.203125,
+ 0.9296875,
+ 0.365234375,
+ 0.482421875,
+ 0.734375,
+ 0.73828125,
+ 0.458984375,
+ 0.53515625
+ ],
+ [
+ 0.97265625,
+ 0.494140625,
+ 0.703125,
+ 0.2119140625,
+ 0.6171875,
+ 0.177734375,
+ 0.365234375,
+ 0.447265625,
+ 0.66796875,
+ 0.0810546875,
+ 0.10009765625,
+ 0.052001953125,
+ 0.380859375,
+ 0.201171875
+ ],
+ [
+ 0.765625,
+ 0.82421875,
+ 0.244140625,
+ 0.61328125,
+ 0.48828125,
+ 0.2001953125,
+ 0.6328125,
+ 0.734375,
+ 0.8359375,
+ 0.30078125,
+ 0.154296875,
+ 0.9296875,
+ 0.9296875,
+ 0.28515625
+ ],
+ [
+ 0.05615234375,
+ 0.70703125,
+ 0.36328125,
+ 0.7578125,
+ 0.0712890625,
+ 0.458984375,
+ 0.33203125,
+ 0.640625,
+ 0.70703125,
+ 0.9453125,
+ 0.34765625,
+ 0.12890625,
+ 0.9609375,
+ 0.56640625
+ ],
+ [
+ 0.9296875,
+ 0.828125,
+ 0.490234375,
+ 0.08837890625,
+ 0.298828125,
+ 0.6953125,
+ 0.73046875,
+ 0.25,
+ 0.640625,
+ 0.1025390625,
+ 0.212890625,
+ 0.1220703125,
+ 0.203125,
+ 0.1650390625
+ ]
+ ],
+ [
+ [
+ 0.71875,
+ 0.9140625,
+ 0.96484375,
+ 0.390625,
+ 0.859375,
+ 0.09130859375,
+ 0.56640625,
+ 0.6015625,
+ 0.408203125,
+ 0.0224609375,
+ 0.330078125,
+ 0.004974365234375,
+ 0.8046875,
+ 0.99609375
+ ],
+ [
+ 0.20703125,
+ 0.76953125,
+ 0.890625,
+ 0.287109375,
+ 0.64453125,
+ 0.2490234375,
+ 0.06591796875,
+ 0.57421875,
+ 0.2890625,
+ 0.859375,
+ 0.95703125,
+ 0.1767578125,
+ 0.1494140625,
+ 0.2001953125
+ ],
+ [
+ 0.46484375,
+ 0.31640625,
+ 0.640625,
+ 0.462890625,
+ 0.0218505859375,
+ 0.74609375,
+ 0.3515625,
+ 0.66015625,
+ 0.83984375,
+ 0.1083984375,
+ 0.59375,
+ 0.9296875,
+ 0.134765625,
+ 0.60546875
+ ],
+ [
+ 0.2158203125,
+ 0.42578125,
+ 0.73046875,
+ 0.83984375,
+ 0.921875,
+ 0.80078125,
+ 0.8671875,
+ 0.09033203125,
+ 0.69921875,
+ 0.6953125,
+ 0.0859375,
+ 0.3359375,
+ 0.3515625,
+ 0.64453125
+ ],
+ [
+ 0.54296875,
+ 0.93359375,
+ 0.1416015625,
+ 0.58984375,
+ 0.1318359375,
+ 0.85546875,
+ 0.380859375,
+ 0.279296875,
+ 0.283203125,
+ 0.11865234375,
+ 0.2080078125,
+ 0.3828125,
+ 0.0341796875,
+ 0.50390625
+ ]
+ ],
+ [
+ [
+ 0.1845703125,
+ 0.546875,
+ 0.1357421875,
+ 0.255859375,
+ 0.7890625,
+ 0.9921875,
+ 0.34765625,
+ 0.47265625,
+ 0.439453125,
+ 0.357421875,
+ 0.2578125,
+ 0.640625,
+ 0.234375,
+ 0.44921875
+ ],
+ [
+ 0.39453125,
+ 0.74609375,
+ 0.81640625,
+ 0.02197265625,
+ 0.5625,
+ 0.1142578125,
+ 0.08984375,
+ 0.337890625,
+ 0.07080078125,
+ 0.92578125,
+ 0.69140625,
+ 0.64453125,
+ 0.16796875,
+ 0.84765625
+ ],
+ [
+ 0.259765625,
+ 0.26171875,
+ 0.88671875,
+ 0.625,
+ 0.6640625,
+ 0.97265625,
+ 0.3984375,
+ 0.2734375,
+ 0.265625,
+ 0.1982421875,
+ 0.8359375,
+ 0.287109375,
+ 0.1162109375,
+ 0.7734375
+ ],
+ [
+ 0.9609375,
+ 0.765625,
+ 0.33203125,
+ 0.171875,
+ 0.78515625,
+ 0.66015625,
+ 0.1962890625,
+ 0.9453125,
+ 0.58984375,
+ 0.58984375,
+ 0.39453125,
+ 0.205078125,
+ 0.58203125,
+ 0.419921875
+ ],
+ [
+ 0.1630859375,
+ 0.019287109375,
+ 0.8828125,
+ 0.9296875,
+ 0.1005859375,
+ 0.29296875,
+ 0.72265625,
+ 0.64453125,
+ 0.396484375,
+ 0.322265625,
+ 0.984375,
+ 0.1103515625,
+ 0.8203125,
+ 0.384765625
+ ]
+ ],
+ [
+ [
+ 0.01275634765625,
+ 0.796875,
+ 0.97265625,
+ 0.828125,
+ 0.62109375,
+ 0.7421875,
+ 0.279296875,
+ 0.27734375,
+ 0.85546875,
+ 0.58984375,
+ 0.4453125,
+ 0.62890625,
+ 0.380859375,
+ 0.8984375
+ ],
+ [
+ 0.291015625,
+ 0.16015625,
+ 0.1796875,
+ 0.921875,
+ 0.306640625,
+ 0.9765625,
+ 0.04052734375,
+ 0.04931640625,
+ 0.8203125,
+ 0.404296875,
+ 0.703125,
+ 0.58984375,
+ 0.68359375,
+ 0.5234375
+ ],
+ [
+ 0.703125,
+ 0.56640625,
+ 0.40234375,
+ 0.6953125,
+ 0.12109375,
+ 0.267578125,
+ 0.1875,
+ 0.83984375,
+ 0.62109375,
+ 0.0014801025390625,
+ 0.82421875,
+ 0.2734375,
+ 0.0108642578125,
+ 0.080078125
+ ],
+ [
+ 0.55078125,
+ 0.181640625,
+ 0.62890625,
+ 0.85546875,
+ 0.408203125,
+ 0.87109375,
+ 0.212890625,
+ 0.640625,
+ 0.890625,
+ 0.546875,
+ 0.77734375,
+ 0.6015625,
+ 0.16015625,
+ 0.91796875
+ ],
+ [
+ 0.2041015625,
+ 0.78125,
+ 0.0927734375,
+ 0.48828125,
+ 0.58203125,
+ 0.671875,
+ 0.69921875,
+ 0.054931640625,
+ 0.322265625,
+ 0.66796875,
+ 0.373046875,
+ 0.4453125,
+ 0.09765625,
+ 0.59765625
+ ]
+ ],
+ [
+ [
+ 0.326171875,
+ 0.11328125,
+ 0.50390625,
+ 0.400390625,
+ 0.62890625,
+ 0.228515625,
+ 0.1513671875,
+ 0.341796875,
+ 0.91796875,
+ 0.2138671875,
+ 0.294921875,
+ 0.78125,
+ 0.7578125,
+ 0.39453125
+ ],
+ [
+ 0.80859375,
+ 0.74609375,
+ 0.283203125,
+ 0.6171875,
+ 0.259765625,
+ 0.51953125,
+ 0.443359375,
+ 0.4765625,
+ 0.953125,
+ 0.7890625,
+ 0.6171875,
+ 0.051513671875,
+ 0.126953125,
+ 0.63671875
+ ],
+ [
+ 0.91796875,
+ 0.048583984375,
+ 0.98828125,
+ 0.470703125,
+ 0.380859375,
+ 0.6796875,
+ 0.98828125,
+ 0.203125,
+ 0.9609375,
+ 0.1240234375,
+ 0.80859375,
+ 0.703125,
+ 0.486328125,
+ 0.546875
+ ],
+ [
+ 0.9765625,
+ 0.76171875,
+ 0.98828125,
+ 0.11328125,
+ 0.396484375,
+ 0.248046875,
+ 0.32421875,
+ 0.96484375,
+ 0.55078125,
+ 0.83203125,
+ 0.00921630859375,
+ 0.51953125,
+ 0.953125,
+ 0.33984375
+ ],
+ [
+ 0.4921875,
+ 0.298828125,
+ 0.7109375,
+ 0.00885009765625,
+ 0.5703125,
+ 0.111328125,
+ 0.451171875,
+ 0.50390625,
+ 0.40625,
+ 0.050537109375,
+ 0.5546875,
+ 0.25,
+ 0.439453125,
+ 0.09033203125
+ ]
+ ],
+ [
+ [
+ 0.162109375,
+ 0.61328125,
+ 0.9921875,
+ 0.98046875,
+ 0.11474609375,
+ 0.578125,
+ 0.90234375,
+ 0.3984375,
+ 0.80078125,
+ 0.1416015625,
+ 0.984375,
+ 0.640625,
+ 0.6171875,
+ 0.578125
+ ],
+ [
+ 0.90234375,
+ 0.30859375,
+ 0.2138671875,
+ 0.53125,
+ 0.984375,
+ 0.98046875,
+ 0.09130859375,
+ 0.0478515625,
+ 0.8046875,
+ 0.640625,
+ 0.625,
+ 0.69921875,
+ 0.03125,
+ 0.41015625
+ ],
+ [
+ 0.478515625,
+ 0.65625,
+ 0.578125,
+ 0.75390625,
+ 0.5390625,
+ 0.62890625,
+ 0.00506591796875,
+ 0.63671875,
+ 0.5078125,
+ 0.412109375,
+ 0.6953125,
+ 0.0020904541015625,
+ 0.765625,
+ 0.88671875
+ ],
+ [
+ 0.11279296875,
+ 0.353515625,
+ 0.8671875,
+ 0.06201171875,
+ 0.2265625,
+ 0.8046875,
+ 0.35546875,
+ 0.337890625,
+ 0.396484375,
+ 0.96484375,
+ 0.0576171875,
+ 0.365234375,
+ 0.361328125,
+ 0.9765625
+ ],
+ [
+ 0.287109375,
+ 0.94140625,
+ 0.40234375,
+ 0.455078125,
+ 0.67578125,
+ 0.478515625,
+ 0.216796875,
+ 0.8359375,
+ 0.28125,
+ 0.85546875,
+ 0.96484375,
+ 0.53125,
+ 0.173828125,
+ 0.162109375
+ ]
+ ],
+ [
+ [
+ 0.8515625,
+ 0.283203125,
+ 0.4921875,
+ 0.78125,
+ 0.055419921875,
+ 0.431640625,
+ 0.66796875,
+ 0.57421875,
+ 0.40625,
+ 0.3515625,
+ 0.0791015625,
+ 0.6015625,
+ 0.057861328125,
+ 0.51953125
+ ],
+ [
+ 0.1337890625,
+ 0.039794921875,
+ 0.486328125,
+ 0.3046875,
+ 0.48828125,
+ 0.1630859375,
+ 0.96484375,
+ 0.01397705078125,
+ 0.134765625,
+ 0.7109375,
+ 0.9296875,
+ 0.045654296875,
+ 0.022216796875,
+ 0.5546875
+ ],
+ [
+ 0.439453125,
+ 0.2041015625,
+ 0.1318359375,
+ 0.8515625,
+ 0.12353515625,
+ 0.6953125,
+ 0.82421875,
+ 0.022216796875,
+ 0.7421875,
+ 0.6796875,
+ 0.54296875,
+ 0.0791015625,
+ 0.90625,
+ 0.90625
+ ],
+ [
+ 0.33984375,
+ 0.3359375,
+ 0.546875,
+ 0.875,
+ 0.9296875,
+ 0.2490234375,
+ 0.5546875,
+ 0.36328125,
+ 0.2177734375,
+ 0.0028839111328125,
+ 0.29296875,
+ 0.326171875,
+ 0.65234375,
+ 0.640625
+ ],
+ [
+ 0.9765625,
+ 0.66015625,
+ 0.15234375,
+ 0.5859375,
+ 0.1650390625,
+ 0.1533203125,
+ 0.92578125,
+ 0.177734375,
+ 0.4765625,
+ 0.90625,
+ 0.60546875,
+ 0.458984375,
+ 0.333984375,
+ 0.125
+ ]
+ ],
+ [
+ [
+ 0.85546875,
+ 0.80078125,
+ 0.91796875,
+ 0.7734375,
+ 0.48828125,
+ 0.193359375,
+ 0.87890625,
+ 0.2041015625,
+ 0.466796875,
+ 0.65625,
+ 0.84765625,
+ 0.84375,
+ 0.36328125,
+ 0.12158203125
+ ],
+ [
+ 0.48828125,
+ 0.87109375,
+ 0.2890625,
+ 0.53515625,
+ 0.1572265625,
+ 0.7421875,
+ 0.60546875,
+ 0.73828125,
+ 0.2890625,
+ 0.67578125,
+ 0.1708984375,
+ 0.41796875,
+ 0.83984375,
+ 0.5078125
+ ],
+ [
+ 0.8984375,
+ 0.81640625,
+ 0.52734375,
+ 0.33984375,
+ 0.74609375,
+ 0.75,
+ 0.515625,
+ 0.13671875,
+ 0.318359375,
+ 0.478515625,
+ 0.94140625,
+ 0.7734375,
+ 0.7734375,
+ 0.2041015625
+ ],
+ [
+ 0.154296875,
+ 0.96875,
+ 0.287109375,
+ 0.65234375,
+ 0.75,
+ 0.51953125,
+ 0.07421875,
+ 0.333984375,
+ 0.9296875,
+ 0.5546875,
+ 0.94921875,
+ 0.1611328125,
+ 0.06787109375,
+ 0.65625
+ ],
+ [
+ 0.27734375,
+ 0.5703125,
+ 0.365234375,
+ 0.2490234375,
+ 0.087890625,
+ 0.55078125,
+ 0.053955078125,
+ 0.71484375,
+ 0.26171875,
+ 0.140625,
+ 0.828125,
+ 0.8984375,
+ 0.1259765625,
+ 0.94921875
+ ]
+ ],
+ [
+ [
+ 0.46875,
+ 0.119140625,
+ 0.369140625,
+ 0.546875,
+ 0.26171875,
+ 0.77734375,
+ 0.1171875,
+ 0.8828125,
+ 0.416015625,
+ 0.9765625,
+ 0.447265625,
+ 0.016357421875,
+ 0.388671875,
+ 0.392578125
+ ],
+ [
+ 0.357421875,
+ 0.75,
+ 0.58203125,
+ 0.90234375,
+ 0.625,
+ 0.58203125,
+ 0.271484375,
+ 0.66015625,
+ 0.69921875,
+ 0.04443359375,
+ 0.0517578125,
+ 0.208984375,
+ 0.58203125,
+ 0.6328125
+ ],
+ [
+ 0.35546875,
+ 0.244140625,
+ 0.1640625,
+ 0.30078125,
+ 0.453125,
+ 0.59765625,
+ 0.8671875,
+ 0.6328125,
+ 0.54296875,
+ 0.345703125,
+ 0.4296875,
+ 0.64453125,
+ 0.63671875,
+ 0.2109375
+ ],
+ [
+ 0.80859375,
+ 0.828125,
+ 0.98046875,
+ 0.890625,
+ 0.10107421875,
+ 0.43359375,
+ 0.057373046875,
+ 0.765625,
+ 0.87109375,
+ 0.48828125,
+ 0.185546875,
+ 0.458984375,
+ 0.130859375,
+ 0.09033203125
+ ],
+ [
+ 0.1220703125,
+ 0.10107421875,
+ 0.890625,
+ 0.0306396484375,
+ 0.28125,
+ 0.205078125,
+ 0.443359375,
+ 0.25390625,
+ 0.25,
+ 0.890625,
+ 0.66015625,
+ 0.294921875,
+ 0.3203125,
+ 0.369140625
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/input-1.json b/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/input-1.json
new file mode 100644
index 000000000..160bcc517
--- /dev/null
+++ b/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/input-1.json
@@ -0,0 +1,87 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ [
+ 0.39453125,
+ 0.1875,
+ 0.349609375,
+ 0.87109375,
+ 0.71875,
+ 0.038330078125,
+ 0.80859375,
+ 0.40625,
+ 0.72265625,
+ 0.392578125,
+ 0.7734375,
+ 0.66015625,
+ 0.671875,
+ 0.87890625
+ ],
+ [
+ 0.82421875,
+ 0.4921875,
+ 0.66015625,
+ 0.376953125,
+ 0.65625,
+ 0.265625,
+ 0.5703125,
+ 0.8125,
+ 0.50390625,
+ 0.6796875,
+ 0.287109375,
+ 0.81640625,
+ 0.470703125,
+ 0.396484375
+ ],
+ [
+ 0.0301513671875,
+ 0.09912109375,
+ 0.1240234375,
+ 0.484375,
+ 0.0771484375,
+ 0.6171875,
+ 0.15625,
+ 0.62109375,
+ 0.51171875,
+ 0.283203125,
+ 0.462890625,
+ 0.458984375,
+ 0.1318359375,
+ 0.462890625
+ ],
+ [
+ 0.640625,
+ 0.69140625,
+ 0.890625,
+ 0.72265625,
+ 0.53125,
+ 0.298828125,
+ 0.46484375,
+ 0.97265625,
+ 0.94140625,
+ 0.734375,
+ 0.032958984375,
+ 0.064453125,
+ 0.97265625,
+ 0.80859375
+ ],
+ [
+ 0.486328125,
+ 0.3984375,
+ 0.1826171875,
+ 0.515625,
+ 0.6484375,
+ 0.1279296875,
+ 0.47265625,
+ 0.35546875,
+ 0.88671875,
+ 0.7109375,
+ 0.90234375,
+ 0.35546875,
+ 0.162109375,
+ 0.828125
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/test.json b/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/test.json
new file mode 100644
index 000000000..cdf96e209
--- /dev/null
+++ b/operators/ew_binary/sub/sub_ERRORIF_WrongOutputType_13x5x14_bf16/test.json
@@ -0,0 +1,62 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "SUB",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 13,
+ 5,
+ 14
+ ],
+ type: "BF16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1,
+ 5,
+ 14
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 13,
+ 5,
+ 14
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}