aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_i16_acci48
diff options
context:
space:
mode:
Diffstat (limited to 'operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_i16_acci48')
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_i16_acci48/desc.json24
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_i16_acci48/input-0.json297
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_i16_acci48/input-1.json189
-rw-r--r--operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_i16_acci48/test.json67
4 files changed, 577 insertions, 0 deletions
diff --git a/operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_i16_acci48/desc.json b/operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_i16_acci48/desc.json
new file mode 100644
index 000000000..92bbd3f31
--- /dev/null
+++ b/operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_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": "Input DType not INT8 and zero point not 0",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_i16_acci48/input-0.json b/operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_i16_acci48/input-0.json
new file mode 100644
index 000000000..0617428a6
--- /dev/null
+++ b/operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_i16_acci48/input-0.json
@@ -0,0 +1,297 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ 4227,
+ 11128,
+ 28855,
+ -4119,
+ -22238,
+ 21802,
+ 8504,
+ 13124,
+ -26397,
+ -12297
+ ],
+ [
+ 17553,
+ 21774,
+ -4246,
+ 19973,
+ 22393,
+ -7375,
+ 26089,
+ -13873,
+ -17069,
+ 11960
+ ],
+ [
+ 8962,
+ -23610,
+ 21806,
+ -19667,
+ 19981,
+ -32286,
+ 19453,
+ 18803,
+ 18373,
+ 10803
+ ],
+ [
+ -1864,
+ 13445,
+ -14607,
+ 18397,
+ 3646,
+ -2693,
+ 367,
+ 4505,
+ -30326,
+ -23607
+ ],
+ [
+ -16681,
+ -25263,
+ -3958,
+ 11036,
+ 10120,
+ -1895,
+ 23270,
+ 4275,
+ -27578,
+ 17366
+ ],
+ [
+ 4889,
+ 8828,
+ 4284,
+ 3511,
+ -26833,
+ 3880,
+ 19327,
+ -12849,
+ 6739,
+ -30749
+ ],
+ [
+ -9995,
+ -4148,
+ 31636,
+ -18705,
+ -14645,
+ -5995,
+ 32287,
+ 23160,
+ -30495,
+ -17437
+ ],
+ [
+ 21081,
+ -28948,
+ 23309,
+ -14328,
+ 27371,
+ -13528,
+ -4305,
+ 10611,
+ -24493,
+ 3737
+ ],
+ [
+ 328,
+ 18605,
+ 32512,
+ 10768,
+ -5952,
+ -6136,
+ -5377,
+ 20579,
+ -11717,
+ -21826
+ ],
+ [
+ -10860,
+ -31280,
+ -25812,
+ -26867,
+ 17796,
+ 14572,
+ 12895,
+ -2499,
+ 14225,
+ -22199
+ ],
+ [
+ 26255,
+ 68,
+ 28708,
+ -22787,
+ -175,
+ 12866,
+ -287,
+ -3529,
+ -21875,
+ -7798
+ ],
+ [
+ -17121,
+ -13009,
+ 12039,
+ 8538,
+ 7025,
+ -9057,
+ 30126,
+ -27024,
+ -10316,
+ -25035
+ ]
+ ],
+ [
+ [
+ -10555,
+ 30270,
+ -8765,
+ 26776,
+ -324,
+ 13088,
+ -2791,
+ -15344,
+ 17316,
+ 30747
+ ],
+ [
+ -15498,
+ 18268,
+ -15654,
+ 14214,
+ 18940,
+ -3319,
+ 15526,
+ -14927,
+ -27575,
+ -26451
+ ],
+ [
+ -3472,
+ 26384,
+ -24408,
+ -2899,
+ 13371,
+ -19506,
+ 14523,
+ -12717,
+ 20228,
+ 5191
+ ],
+ [
+ 3074,
+ -21184,
+ -2412,
+ 23371,
+ -31489,
+ 16942,
+ -475,
+ 14382,
+ 10701,
+ -4451
+ ],
+ [
+ -12540,
+ 8343,
+ -23579,
+ 5511,
+ -26563,
+ 9820,
+ 8437,
+ -27234,
+ 16874,
+ -5518
+ ],
+ [
+ 18801,
+ -30041,
+ -21008,
+ -394,
+ -20433,
+ -11151,
+ 10525,
+ -23297,
+ 11645,
+ -25992
+ ],
+ [
+ -21288,
+ 5743,
+ 19233,
+ -21589,
+ -13108,
+ 27860,
+ 32091,
+ 5312,
+ -3471,
+ -10036
+ ],
+ [
+ 7369,
+ 5958,
+ -13452,
+ -31274,
+ -22840,
+ 30052,
+ -5364,
+ -1160,
+ -2156,
+ 18529
+ ],
+ [
+ -28512,
+ -27347,
+ -14691,
+ -875,
+ 11214,
+ -610,
+ -3856,
+ 28693,
+ -22216,
+ 4700
+ ],
+ [
+ 2768,
+ -1738,
+ 20158,
+ -15272,
+ 29738,
+ -11039,
+ 2949,
+ 1354,
+ 22923,
+ -4004
+ ],
+ [
+ -14120,
+ -31352,
+ -8934,
+ 21383,
+ -32119,
+ 25962,
+ 2806,
+ -23577,
+ -12965,
+ 3541
+ ],
+ [
+ -12079,
+ -25653,
+ 10878,
+ 11287,
+ -24978,
+ -14338,
+ -16786,
+ 10447,
+ 15092,
+ 14876
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_i16_acci48/input-1.json b/operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_i16_acci48/input-1.json
new file mode 100644
index 000000000..4f3096943
--- /dev/null
+++ b/operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_i16_acci48/input-1.json
@@ -0,0 +1,189 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ 28754,
+ 17606,
+ -11752,
+ -25708,
+ 7513,
+ 27263,
+ 31139
+ ],
+ [
+ -17681,
+ -17272,
+ -30317,
+ -23511,
+ 3594,
+ 3067,
+ -8460
+ ],
+ [
+ -12455,
+ 21613,
+ -2620,
+ 20201,
+ 30357,
+ -11984,
+ -19482
+ ],
+ [
+ 29681,
+ 8836,
+ -13703,
+ 7986,
+ 986,
+ 26576,
+ -15994
+ ],
+ [
+ 32203,
+ 28576,
+ -20926,
+ -21981,
+ 2172,
+ -29825,
+ -13186
+ ],
+ [
+ -4254,
+ 30760,
+ 32268,
+ -22837,
+ 25668,
+ -26809,
+ 16292
+ ],
+ [
+ 22652,
+ 25610,
+ -18127,
+ 25784,
+ -25168,
+ 1235,
+ -1996
+ ],
+ [
+ -12064,
+ -31319,
+ 17826,
+ -10776,
+ 10594,
+ -5884,
+ -8280
+ ],
+ [
+ 25316,
+ -26578,
+ 15506,
+ 16173,
+ -7865,
+ -15568,
+ -32421
+ ],
+ [
+ 28626,
+ 29342,
+ -16976,
+ -30677,
+ -24723,
+ -28335,
+ 21699
+ ]
+ ],
+ [
+ [
+ 25684,
+ -22723,
+ 16170,
+ -21020,
+ -8703,
+ 6513,
+ 14413
+ ],
+ [
+ 24547,
+ -29833,
+ -19895,
+ -14385,
+ -12431,
+ 32638,
+ 18180
+ ],
+ [
+ -11770,
+ 30921,
+ -46,
+ 48,
+ -4346,
+ -23338,
+ 28467
+ ],
+ [
+ -31855,
+ -21347,
+ -17718,
+ -14464,
+ -24129,
+ -31591,
+ 11643
+ ],
+ [
+ 30756,
+ -24784,
+ -13335,
+ 414,
+ 28016,
+ 12731,
+ 17444
+ ],
+ [
+ 5316,
+ -5438,
+ -19676,
+ 23875,
+ 19931,
+ -31123,
+ 14116
+ ],
+ [
+ -27238,
+ 15662,
+ 21361,
+ -24179,
+ -4337,
+ -24658,
+ 4409
+ ],
+ [
+ 28020,
+ -27469,
+ -6713,
+ 31006,
+ -13046,
+ -24104,
+ -749
+ ],
+ [
+ 548,
+ 10673,
+ -12207,
+ 29859,
+ 1377,
+ -13996,
+ 30165
+ ],
+ [
+ 27840,
+ -55,
+ -31139,
+ 6352,
+ 3617,
+ -23056,
+ 8780
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_i16_acci48/test.json b/operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_i16_acci48/test.json
new file mode 100644
index 000000000..bf783d67a
--- /dev/null
+++ b/operators/tensor/matmul/matmul_ERRORIF_InputZeroPointNotZero_2x12x10_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: -44,
+ b_zp: -70,
+ accum_dtype: "INT48"
+ },
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2,
+ 12,
+ 10
+ ],
+ type: "INT16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 2,
+ 10,
+ 7
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 12,
+ 7
+ ],
+ type: "INT48"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}