aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2022-12-14 12:16:05 +0000
committerEric Kunze <eric.kunze@arm.com>2022-12-15 16:42:21 +0000
commite926477175d04742f000925b4780d97e0c919e86 (patch)
treeba29abe6262d8f302365da95f10c99a49b68b9f5 /operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16
parent7125e9b2ef21580734f6ec654f6c47da6d870ebe (diff)
downloadconformance_tests-e926477175d04742f000925b4780d97e0c919e86.tar.gz
Create MI tests for EW Binary: MINIMUM, MAXIMUM
Signed-off-by: James Ward <james.ward@arm.com> Change-Id: I59cc5c683e270dcea7ced52fc1d037a553ff544f
Diffstat (limited to 'operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16')
-rw-r--r--operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/desc.json23
-rw-r--r--operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/input-0.json577
-rw-r--r--operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/input-1.json357
-rw-r--r--operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/test.json62
4 files changed, 1019 insertions, 0 deletions
diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/desc.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/desc.json
new file mode 100644
index 000000000..e4f45242b
--- /dev/null
+++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/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": "Input data type not supported for this operator",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/input-0.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/input-0.json
new file mode 100644
index 000000000..714052197
--- /dev/null
+++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/input-0.json
@@ -0,0 +1,577 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ -20939,
+ 2342,
+ 5664
+ ],
+ [
+ 22981,
+ -24650,
+ -24656
+ ],
+ [
+ 32448,
+ 2974,
+ -20872
+ ],
+ [
+ 31325,
+ 13324,
+ -4291
+ ],
+ [
+ -19297,
+ 18233,
+ 17897
+ ],
+ [
+ 13441,
+ 16797,
+ -10433
+ ],
+ [
+ 21316,
+ 21641,
+ -26627
+ ],
+ [
+ -3761,
+ 22321,
+ -7564
+ ],
+ [
+ -10371,
+ 10709,
+ -26385
+ ],
+ [
+ -18758,
+ -20033,
+ 26701
+ ]
+ ],
+ [
+ [
+ -17088,
+ -28392,
+ 1569
+ ],
+ [
+ 26044,
+ -28491,
+ 2705
+ ],
+ [
+ 31393,
+ 11075,
+ 5299
+ ],
+ [
+ 29962,
+ -28622,
+ 30207
+ ],
+ [
+ -20856,
+ 23110,
+ 16539
+ ],
+ [
+ 17287,
+ -6534,
+ 4527
+ ],
+ [
+ 2349,
+ -17975,
+ 30962
+ ],
+ [
+ -3919,
+ 15824,
+ 5154
+ ],
+ [
+ -28396,
+ -16816,
+ 31682
+ ],
+ [
+ 6723,
+ -9799,
+ 4118
+ ]
+ ],
+ [
+ [
+ 2150,
+ 14286,
+ 28213
+ ],
+ [
+ 8576,
+ -22838,
+ 23904
+ ],
+ [
+ -23878,
+ -5269,
+ -17755
+ ],
+ [
+ 5020,
+ 29097,
+ 6888
+ ],
+ [
+ -32046,
+ -9973,
+ -17187
+ ],
+ [
+ 10610,
+ -7644,
+ -11118
+ ],
+ [
+ 29018,
+ 18215,
+ 2761
+ ],
+ [
+ 26728,
+ 13389,
+ -16220
+ ],
+ [
+ -9408,
+ 5585,
+ -9545
+ ],
+ [
+ 23663,
+ -6513,
+ 5510
+ ]
+ ],
+ [
+ [
+ -28802,
+ -5201,
+ -12885
+ ],
+ [
+ 12703,
+ 24915,
+ -6401
+ ],
+ [
+ -30844,
+ -1417,
+ -4470
+ ],
+ [
+ 32292,
+ -22166,
+ -7897
+ ],
+ [
+ -29668,
+ 26701,
+ 18181
+ ],
+ [
+ 15864,
+ 7251,
+ -5221
+ ],
+ [
+ 18451,
+ 26355,
+ -21504
+ ],
+ [
+ -22898,
+ 9165,
+ 29724
+ ],
+ [
+ 9657,
+ 13535,
+ -11250
+ ],
+ [
+ 3052,
+ -23267,
+ -3435
+ ]
+ ],
+ [
+ [
+ 25076,
+ 28176,
+ 6071
+ ],
+ [
+ 20303,
+ -3170,
+ 3245
+ ],
+ [
+ -9320,
+ 20661,
+ -29422
+ ],
+ [
+ 3844,
+ -12708,
+ 14919
+ ],
+ [
+ 1816,
+ 8978,
+ 14632
+ ],
+ [
+ -20001,
+ 18096,
+ -18516
+ ],
+ [
+ 8843,
+ 14545,
+ -25392
+ ],
+ [
+ -14402,
+ -19053,
+ 25781
+ ],
+ [
+ -11210,
+ 2121,
+ -5711
+ ],
+ [
+ -23683,
+ -20847,
+ 17448
+ ]
+ ],
+ [
+ [
+ -8176,
+ 16331,
+ 20614
+ ],
+ [
+ 9883,
+ -21505,
+ 26801
+ ],
+ [
+ 6822,
+ 16128,
+ 28068
+ ],
+ [
+ 17833,
+ -1843,
+ 287
+ ],
+ [
+ -30939,
+ 17321,
+ -17760
+ ],
+ [
+ -4770,
+ -507,
+ -3327
+ ],
+ [
+ 29716,
+ 6599,
+ 22171
+ ],
+ [
+ 16838,
+ 10653,
+ -26778
+ ],
+ [
+ -22633,
+ -1023,
+ 21991
+ ],
+ [
+ -31891,
+ 21926,
+ 115
+ ]
+ ],
+ [
+ [
+ 3123,
+ -4389,
+ -1355
+ ],
+ [
+ -28714,
+ -3848,
+ -9534
+ ],
+ [
+ -5250,
+ -14286,
+ 4946
+ ],
+ [
+ 25758,
+ -26970,
+ -4060
+ ],
+ [
+ -16328,
+ -27033,
+ 17089
+ ],
+ [
+ -6540,
+ 1679,
+ 9319
+ ],
+ [
+ -19824,
+ 27288,
+ 25972
+ ],
+ [
+ 24423,
+ -14507,
+ -3982
+ ],
+ [
+ -15014,
+ 8720,
+ -13438
+ ],
+ [
+ 30633,
+ -16629,
+ -23005
+ ]
+ ],
+ [
+ [
+ -685,
+ 25111,
+ -30859
+ ],
+ [
+ 22710,
+ 20560,
+ 27174
+ ],
+ [
+ 3561,
+ 30595,
+ -6385
+ ],
+ [
+ -21973,
+ -31472,
+ 3972
+ ],
+ [
+ -28986,
+ -21920,
+ 30191
+ ],
+ [
+ -15041,
+ -21669,
+ 19291
+ ],
+ [
+ -12186,
+ 24853,
+ -14348
+ ],
+ [
+ -2803,
+ -30754,
+ 16234
+ ],
+ [
+ 26580,
+ -19365,
+ 10792
+ ],
+ [
+ -3111,
+ 24105,
+ -32496
+ ]
+ ],
+ [
+ [
+ 30325,
+ 18265,
+ 629
+ ],
+ [
+ -15304,
+ -14557,
+ -30527
+ ],
+ [
+ -27932,
+ -9722,
+ 8269
+ ],
+ [
+ -9315,
+ -27379,
+ 14387
+ ],
+ [
+ -25555,
+ -8760,
+ 31319
+ ],
+ [
+ -13046,
+ -9456,
+ -32235
+ ],
+ [
+ -30627,
+ 18458,
+ -16795
+ ],
+ [
+ -27974,
+ 26250,
+ -10310
+ ],
+ [
+ -25681,
+ -16625,
+ -23196
+ ],
+ [
+ 29823,
+ 19235,
+ 6965
+ ]
+ ],
+ [
+ [
+ 14671,
+ -30862,
+ -3986
+ ],
+ [
+ 11503,
+ 16613,
+ 25085
+ ],
+ [
+ 19907,
+ 11020,
+ -21812
+ ],
+ [
+ 1546,
+ 1706,
+ -11357
+ ],
+ [
+ 7182,
+ 7808,
+ 18491
+ ],
+ [
+ -30067,
+ -18814,
+ -18032
+ ],
+ [
+ -17606,
+ 27552,
+ -12143
+ ],
+ [
+ 13808,
+ 25110,
+ -26564
+ ],
+ [
+ 18774,
+ 11174,
+ 31594
+ ],
+ [
+ 26189,
+ -13562,
+ 11189
+ ]
+ ],
+ [
+ [
+ -19477,
+ 5945,
+ 30976
+ ],
+ [
+ -346,
+ 29950,
+ 5968
+ ],
+ [
+ 26850,
+ 24320,
+ -30847
+ ],
+ [
+ -12062,
+ -27637,
+ 17844
+ ],
+ [
+ 14781,
+ 9244,
+ -25985
+ ],
+ [
+ -24206,
+ 22436,
+ -17126
+ ],
+ [
+ 5223,
+ 25144,
+ -11795
+ ],
+ [
+ -11517,
+ -20453,
+ -5948
+ ],
+ [
+ 6801,
+ -10963,
+ -16978
+ ],
+ [
+ 3669,
+ -29236,
+ -28439
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/input-1.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/input-1.json
new file mode 100644
index 000000000..52302d23f
--- /dev/null
+++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/input-1.json
@@ -0,0 +1,357 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ 9610
+ ],
+ [
+ -3826
+ ],
+ [
+ 31008
+ ],
+ [
+ -15
+ ],
+ [
+ -11134
+ ],
+ [
+ 20592
+ ],
+ [
+ -26345
+ ],
+ [
+ -18830
+ ],
+ [
+ 17639
+ ],
+ [
+ -7334
+ ]
+ ],
+ [
+ [
+ -3015
+ ],
+ [
+ 1757
+ ],
+ [
+ 6079
+ ],
+ [
+ 20294
+ ],
+ [
+ 4472
+ ],
+ [
+ 13233
+ ],
+ [
+ 18701
+ ],
+ [
+ -29817
+ ],
+ [
+ 1151
+ ],
+ [
+ -9880
+ ]
+ ],
+ [
+ [
+ -7808
+ ],
+ [
+ -18518
+ ],
+ [
+ 15624
+ ],
+ [
+ -24718
+ ],
+ [
+ -25293
+ ],
+ [
+ -14718
+ ],
+ [
+ 29268
+ ],
+ [
+ 4681
+ ],
+ [
+ -5477
+ ],
+ [
+ 20769
+ ]
+ ],
+ [
+ [
+ -30512
+ ],
+ [
+ 25232
+ ],
+ [
+ -10814
+ ],
+ [
+ -10779
+ ],
+ [
+ 25069
+ ],
+ [
+ -17666
+ ],
+ [
+ -16866
+ ],
+ [
+ 4835
+ ],
+ [
+ -17389
+ ],
+ [
+ 10906
+ ]
+ ],
+ [
+ [
+ 6410
+ ],
+ [
+ 3458
+ ],
+ [
+ -2943
+ ],
+ [
+ 21624
+ ],
+ [
+ 16797
+ ],
+ [
+ -6829
+ ],
+ [
+ -19769
+ ],
+ [
+ -11029
+ ],
+ [
+ -23024
+ ],
+ [
+ 4375
+ ]
+ ],
+ [
+ [
+ 26029
+ ],
+ [
+ 10481
+ ],
+ [
+ 19855
+ ],
+ [
+ -10854
+ ],
+ [
+ 29080
+ ],
+ [
+ -16142
+ ],
+ [
+ 5062
+ ],
+ [
+ 30585
+ ],
+ [
+ -31934
+ ],
+ [
+ 13619
+ ]
+ ],
+ [
+ [
+ -776
+ ],
+ [
+ 7410
+ ],
+ [
+ 21375
+ ],
+ [
+ -14104
+ ],
+ [
+ 31057
+ ],
+ [
+ 27624
+ ],
+ [
+ 1610
+ ],
+ [
+ 1880
+ ],
+ [
+ 15923
+ ],
+ [
+ -15070
+ ]
+ ],
+ [
+ [
+ -10250
+ ],
+ [
+ -9078
+ ],
+ [
+ -26963
+ ],
+ [
+ -8376
+ ],
+ [
+ 30809
+ ],
+ [
+ -30531
+ ],
+ [
+ 21896
+ ],
+ [
+ -5961
+ ],
+ [
+ -11090
+ ],
+ [
+ -15682
+ ]
+ ],
+ [
+ [
+ -19113
+ ],
+ [
+ -3127
+ ],
+ [
+ -15866
+ ],
+ [
+ 3974
+ ],
+ [
+ 17307
+ ],
+ [
+ -10772
+ ],
+ [
+ 24705
+ ],
+ [
+ -30768
+ ],
+ [
+ -23623
+ ],
+ [
+ 28018
+ ]
+ ],
+ [
+ [
+ 22198
+ ],
+ [
+ -25063
+ ],
+ [
+ -5278
+ ],
+ [
+ -9790
+ ],
+ [
+ -26046
+ ],
+ [
+ 14891
+ ],
+ [
+ -4404
+ ],
+ [
+ 24865
+ ],
+ [
+ -9803
+ ],
+ [
+ 9578
+ ]
+ ],
+ [
+ [
+ 26253
+ ],
+ [
+ -17014
+ ],
+ [
+ -6602
+ ],
+ [
+ 10713
+ ],
+ [
+ 12254
+ ],
+ [
+ -6395
+ ],
+ [
+ -27764
+ ],
+ [
+ 16043
+ ],
+ [
+ 12721
+ ],
+ [
+ -6851
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/test.json b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/test.json
new file mode 100644
index 000000000..e53f9dcaf
--- /dev/null
+++ b/operators/ew_binary/minimum/minimum_ERRORIF_WrongInputType_11x10x3_i16/test.json
@@ -0,0 +1,62 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "MINIMUM",
+ attribute_type: "NONE",
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 10,
+ 3
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 11,
+ 10,
+ 1
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11,
+ 10,
+ 3
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}