aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48
diff options
context:
space:
mode:
Diffstat (limited to 'operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48')
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/desc.json24
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/input-0.json235
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/input-1.json600
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/test.json67
4 files changed, 926 insertions, 0 deletions
diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/desc.json b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/desc.json
new file mode 100644
index 000000000..dc8dfba88
--- /dev/null
+++ b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/desc.json
@@ -0,0 +1,24 @@
+{
+ "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": "Op output list does not match expected output",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/input-0.json b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/input-0.json
new file mode 100644
index 000000000..989b89452
--- /dev/null
+++ b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/input-0.json
@@ -0,0 +1,235 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ 12883,
+ 20781,
+ -12973,
+ -17019,
+ 16574,
+ 8849,
+ -20565,
+ -15092,
+ 23201
+ ],
+ [
+ 3648,
+ 26950,
+ 13171,
+ -19250,
+ -19188,
+ 30488,
+ 15698,
+ 6193,
+ 11568
+ ],
+ [
+ -5612,
+ -12271,
+ 21211,
+ 25885,
+ 26630,
+ 18383,
+ 24352,
+ 1384,
+ -12364
+ ],
+ [
+ -27350,
+ -12537,
+ -3892,
+ -27278,
+ -11151,
+ 28086,
+ -15569,
+ -7007,
+ 9409
+ ]
+ ],
+ [
+ [
+ 25228,
+ 27638,
+ 20467,
+ -23164,
+ -25457,
+ 15835,
+ 25260,
+ 7976,
+ 27158
+ ],
+ [
+ 10946,
+ -9770,
+ 22622,
+ 16872,
+ -8163,
+ 5859,
+ 5213,
+ -26276,
+ -14627
+ ],
+ [
+ -17840,
+ -14142,
+ 1680,
+ 870,
+ 23477,
+ -32290,
+ 21265,
+ -16508,
+ -9755
+ ],
+ [
+ -22831,
+ -31897,
+ -24913,
+ -18057,
+ -7561,
+ -12341,
+ -25929,
+ -10623,
+ -22657
+ ]
+ ],
+ [
+ [
+ 12045,
+ 11056,
+ -28656,
+ 9918,
+ 26762,
+ 29164,
+ -29056,
+ 27543,
+ -6096
+ ],
+ [
+ 24506,
+ -19418,
+ 12514,
+ 19839,
+ -15297,
+ 15564,
+ -21093,
+ 13738,
+ 29453
+ ],
+ [
+ -13155,
+ 30122,
+ 10956,
+ 290,
+ -11321,
+ 3172,
+ 31714,
+ -32416,
+ 24002
+ ],
+ [
+ -23031,
+ 24660,
+ 3014,
+ 26144,
+ -20855,
+ -29637,
+ -1394,
+ 18227,
+ 19327
+ ]
+ ],
+ [
+ [
+ 17331,
+ 19711,
+ 18051,
+ 23701,
+ -21592,
+ -17321,
+ -32544,
+ -4464,
+ -15540
+ ],
+ [
+ 8312,
+ 3461,
+ 5314,
+ 10401,
+ 32707,
+ -25791,
+ -14662,
+ -5402,
+ -28093
+ ],
+ [
+ 20874,
+ -7350,
+ -21843,
+ 1180,
+ -20190,
+ -7390,
+ 9467,
+ -11839,
+ 21807
+ ],
+ [
+ -15909,
+ -25235,
+ -4753,
+ -20230,
+ 12399,
+ 1562,
+ -23012,
+ -10715,
+ 23955
+ ]
+ ],
+ [
+ [
+ 20891,
+ 9248,
+ 26416,
+ -25732,
+ 15203,
+ -31227,
+ 6548,
+ -29403,
+ -10367
+ ],
+ [
+ -26846,
+ -16126,
+ 9406,
+ 18487,
+ 28891,
+ 31995,
+ -24032,
+ 27496,
+ -14134
+ ],
+ [
+ 25197,
+ 23976,
+ 27470,
+ 371,
+ 16415,
+ -4776,
+ -27661,
+ -1755,
+ -19593
+ ],
+ [
+ -26141,
+ -23987,
+ -18377,
+ 19426,
+ 30278,
+ 22961,
+ 9399,
+ 25054,
+ -14007
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/input-1.json b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/input-1.json
new file mode 100644
index 000000000..18f1c5a2d
--- /dev/null
+++ b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/input-1.json
@@ -0,0 +1,600 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ 26763,
+ 29293,
+ -23028,
+ -6718,
+ -14385,
+ -23537,
+ -21446,
+ 30494,
+ -20874,
+ 10874,
+ 24425
+ ],
+ [
+ 16568,
+ -3045,
+ -31293,
+ -5361,
+ -14212,
+ 23888,
+ 29191,
+ -17541,
+ -22576,
+ 20977,
+ 24476
+ ],
+ [
+ 31667,
+ 17725,
+ -2393,
+ -7962,
+ -28841,
+ 25344,
+ 32314,
+ 27702,
+ 4832,
+ 24042,
+ -32606
+ ],
+ [
+ -6064,
+ -25726,
+ 5710,
+ -32614,
+ -12706,
+ -5279,
+ -24252,
+ -27122,
+ 26352,
+ -14926,
+ 31533
+ ],
+ [
+ -8474,
+ -28929,
+ -25989,
+ 12303,
+ -31931,
+ 29441,
+ -16021,
+ 7072,
+ -3682,
+ -29682,
+ 13299
+ ],
+ [
+ -31791,
+ 19455,
+ 268,
+ -12945,
+ 28832,
+ -19453,
+ -14493,
+ 9552,
+ -9810,
+ -865,
+ 19398
+ ],
+ [
+ 27096,
+ 19769,
+ -27496,
+ 29074,
+ -5190,
+ 22195,
+ -14034,
+ 6155,
+ 30442,
+ 28754,
+ 10108
+ ],
+ [
+ 7498,
+ -30846,
+ 6657,
+ -5217,
+ -31753,
+ 29178,
+ -2920,
+ 17654,
+ -29954,
+ -16709,
+ 26133
+ ],
+ [
+ 28639,
+ -32082,
+ 25725,
+ -12649,
+ -18607,
+ 32444,
+ 2263,
+ 19337,
+ -23734,
+ 16886,
+ -8760
+ ]
+ ],
+ [
+ [
+ 13951,
+ 10204,
+ -29410,
+ 24572,
+ -13881,
+ -8864,
+ 19559,
+ 24707,
+ 25922,
+ -2953,
+ -9827
+ ],
+ [
+ 20940,
+ -15767,
+ 9380,
+ -17309,
+ -18992,
+ 3149,
+ 23919,
+ -13666,
+ 14830,
+ -31370,
+ 12973
+ ],
+ [
+ -7160,
+ -27862,
+ 3521,
+ -17092,
+ 8797,
+ -29945,
+ -10293,
+ -17302,
+ -12197,
+ -32256,
+ -14164
+ ],
+ [
+ -26960,
+ 8082,
+ -2656,
+ -14181,
+ 7631,
+ 27318,
+ 2745,
+ -14308,
+ -6343,
+ 19066,
+ -26261
+ ],
+ [
+ -11815,
+ -2005,
+ 8830,
+ 5018,
+ 13042,
+ 28826,
+ -21341,
+ -1343,
+ -7867,
+ -26992,
+ -24407
+ ],
+ [
+ 8427,
+ 698,
+ -13568,
+ 26831,
+ -12386,
+ 6306,
+ 32017,
+ 13215,
+ 14954,
+ -14218,
+ 27180
+ ],
+ [
+ -2083,
+ -13010,
+ 15779,
+ 1998,
+ -24164,
+ -31466,
+ -24792,
+ -22323,
+ -18060,
+ -10126,
+ -17250
+ ],
+ [
+ 26418,
+ 30303,
+ 30956,
+ -22374,
+ 2228,
+ -25877,
+ 13696,
+ -23745,
+ -13764,
+ -19471,
+ -1254
+ ],
+ [
+ -8604,
+ 2665,
+ -19848,
+ 544,
+ -27014,
+ -30069,
+ -23815,
+ -15294,
+ 18983,
+ -11104,
+ 1315
+ ]
+ ],
+ [
+ [
+ 11688,
+ 16114,
+ 5493,
+ -21188,
+ 10675,
+ -12769,
+ 5979,
+ 31608,
+ -28001,
+ -27154,
+ -16385
+ ],
+ [
+ -4020,
+ -1381,
+ -13385,
+ 26269,
+ -32288,
+ 2914,
+ 3437,
+ 17683,
+ 3277,
+ -23885,
+ -11767
+ ],
+ [
+ -21449,
+ -1819,
+ 27173,
+ -7082,
+ -8869,
+ -2346,
+ -21888,
+ 22809,
+ 10815,
+ 14022,
+ -9844
+ ],
+ [
+ -14402,
+ -1703,
+ -17070,
+ -31368,
+ 14759,
+ 23587,
+ -18055,
+ 8321,
+ 26711,
+ 15740,
+ 21811
+ ],
+ [
+ 25662,
+ -16219,
+ -27970,
+ 19759,
+ 19073,
+ -20228,
+ 26452,
+ -31139,
+ -8060,
+ 30220,
+ -9657
+ ],
+ [
+ 17127,
+ -30275,
+ -720,
+ 18460,
+ 22492,
+ -4180,
+ -27799,
+ 2129,
+ 15707,
+ -3218,
+ 29905
+ ],
+ [
+ -12187,
+ 20879,
+ 16701,
+ -4478,
+ -26359,
+ -10073,
+ 17518,
+ 25717,
+ -2817,
+ -13664,
+ 17400
+ ],
+ [
+ 28668,
+ -23443,
+ -11807,
+ 19316,
+ -24576,
+ 31063,
+ -17309,
+ -884,
+ 1276,
+ -8238,
+ -24176
+ ],
+ [
+ -30790,
+ -7868,
+ -15123,
+ 26598,
+ 10789,
+ -26615,
+ 16717,
+ 7506,
+ -24535,
+ -6307,
+ 15559
+ ]
+ ],
+ [
+ [
+ 9663,
+ 4804,
+ -682,
+ 12488,
+ 24687,
+ -21522,
+ -6390,
+ 22855,
+ 552,
+ -21226,
+ -24240
+ ],
+ [
+ 14899,
+ -636,
+ 19052,
+ -25249,
+ 7007,
+ 5447,
+ -2658,
+ -4759,
+ -14990,
+ 18571,
+ -11063
+ ],
+ [
+ -5343,
+ 23541,
+ 8558,
+ -30226,
+ -28902,
+ 2470,
+ 13763,
+ -1891,
+ 29978,
+ 22980,
+ -3423
+ ],
+ [
+ -17348,
+ -32123,
+ -30563,
+ 6792,
+ -10831,
+ -23254,
+ -27957,
+ -2100,
+ 5564,
+ -30641,
+ -5319
+ ],
+ [
+ -3748,
+ -29088,
+ 24542,
+ -17697,
+ -23896,
+ -23997,
+ -110,
+ 13661,
+ -16131,
+ 17431,
+ -15662
+ ],
+ [
+ -20515,
+ 9391,
+ 17938,
+ 16271,
+ 3766,
+ 24463,
+ 22875,
+ -14533,
+ 8325,
+ -28130,
+ -27545
+ ],
+ [
+ -3783,
+ 13344,
+ 5543,
+ -21998,
+ 15701,
+ 7009,
+ 16781,
+ 7354,
+ 23830,
+ -9033,
+ -30726
+ ],
+ [
+ 6475,
+ 31522,
+ -26325,
+ 30593,
+ 17697,
+ -30439,
+ 2801,
+ -12236,
+ 10082,
+ 17402,
+ -8269
+ ],
+ [
+ -1409,
+ -30152,
+ -32464,
+ 16997,
+ -9522,
+ 24777,
+ 5173,
+ -6786,
+ 24876,
+ -29024,
+ 21577
+ ]
+ ],
+ [
+ [
+ -27916,
+ 29249,
+ 4298,
+ -2102,
+ 10164,
+ 19547,
+ -14077,
+ -26167,
+ 30630,
+ 1209,
+ -13962
+ ],
+ [
+ 27301,
+ -30170,
+ 22206,
+ -31552,
+ 10198,
+ -30280,
+ -22990,
+ -11388,
+ -20836,
+ -29841,
+ 11708
+ ],
+ [
+ 17119,
+ -11432,
+ 12968,
+ -11178,
+ -18655,
+ 22781,
+ 1649,
+ -31427,
+ 13054,
+ -7044,
+ -27978
+ ],
+ [
+ -17156,
+ -11860,
+ -30992,
+ 14949,
+ -18575,
+ -22507,
+ -20694,
+ 14052,
+ 293,
+ 20533,
+ -4248
+ ],
+ [
+ 11957,
+ -1855,
+ 6086,
+ 24766,
+ 7464,
+ -366,
+ 23956,
+ 9109,
+ 28377,
+ 9665,
+ 12256
+ ],
+ [
+ 1105,
+ 22932,
+ -12795,
+ 2901,
+ 26421,
+ -18835,
+ -4052,
+ -31079,
+ 4661,
+ -10002,
+ 3876
+ ],
+ [
+ -17288,
+ 21472,
+ 31796,
+ 2268,
+ 7224,
+ -2825,
+ -13214,
+ -2618,
+ -394,
+ 18346,
+ 12479
+ ],
+ [
+ -11143,
+ 7662,
+ 28498,
+ -5394,
+ 22715,
+ -1727,
+ -23702,
+ -20836,
+ -11978,
+ 5388,
+ 26582
+ ],
+ [
+ -6985,
+ -14525,
+ 10136,
+ -11950,
+ -4209,
+ -18517,
+ -13467,
+ -29204,
+ 4483,
+ -1412,
+ -21499
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/test.json b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/test.json
new file mode 100644
index 000000000..7961ba637
--- /dev/null
+++ b/operators/tensor/matmul/matmul_ERRORIF_WrongOutputList_5x4x9_i16_acci48/test.json
@@ -0,0 +1,67 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "MATMUL",
+ attribute_type: "MatMulAttribute",
+ attribute: {
+ a_zp: 0,
+ b_zp: 0,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 5,
+ 4,
+ 9
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 5,
+ 9,
+ 11
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 5,
+ 4,
+ 11
+ ],
+ type: "INT48"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}