aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_32x32_i16
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:53 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:53 +0100
commit241fe57970e126f59336a5aadf7380a158621182 (patch)
treed378b9c788adbcf4c491fd7898a9963c4f987bf9 /operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_32x32_i16
parent0eeab397805ba40bf3b1404bbf14cec6cfdc393c (diff)
downloadconformance_tests-241fe57970e126f59336a5aadf7380a158621182.tar.gz
Updating NEGATE tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: If89677f8640475f2d85f735a2e2a811be1060617
Diffstat (limited to 'operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_32x32_i16')
-rw-r--r--operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_32x32_i16/desc.json18
-rw-r--r--operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_32x32_i16/input-0.json1093
-rw-r--r--operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_32x32_i16/test.json53
3 files changed, 1164 insertions, 0 deletions
diff --git a/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_32x32_i16/desc.json b/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_32x32_i16/desc.json
new file mode 100644
index 000000000..f395ffb79
--- /dev/null
+++ b/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_32x32_i16/desc.json
@@ -0,0 +1,18 @@
+{
+ "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": "Output DType not INT8 and zero point not 0"
+} \ No newline at end of file
diff --git a/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_32x32_i16/input-0.json b/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_32x32_i16/input-0.json
new file mode 100644
index 000000000..f9420bb10
--- /dev/null
+++ b/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_32x32_i16/input-0.json
@@ -0,0 +1,1093 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ -23264,
+ 3610,
+ 8172,
+ -22084,
+ 25983,
+ -19873,
+ 20307,
+ -7800,
+ 23925,
+ 25259,
+ 22562,
+ -19786,
+ -17413,
+ 23807,
+ -20480,
+ -9724,
+ 30679,
+ 8032,
+ -5666,
+ 22389,
+ 2490,
+ -1689,
+ -13572,
+ -12958,
+ -770,
+ -28986,
+ -23532,
+ -14514,
+ -4993,
+ 27560,
+ 19257,
+ 17755
+ ],
+ [
+ 23724,
+ 24774,
+ 31681,
+ -28354,
+ -14287,
+ 6612,
+ -8513,
+ 3924,
+ -32223,
+ 18011,
+ 17313,
+ 1749,
+ -9730,
+ -32080,
+ 11885,
+ 25075,
+ -27536,
+ -3853,
+ -27437,
+ 1948,
+ 16724,
+ -18369,
+ 7385,
+ -25716,
+ -17857,
+ 8198,
+ -14289,
+ -19224,
+ -12790,
+ 19701,
+ -10519,
+ 29820
+ ],
+ [
+ -1666,
+ -28423,
+ 17628,
+ -26405,
+ 26324,
+ -15924,
+ -23429,
+ 23942,
+ -9627,
+ -580,
+ 9885,
+ 6488,
+ 30239,
+ 32675,
+ 4143,
+ -2241,
+ 9253,
+ -25006,
+ 15607,
+ 13940,
+ 820,
+ -5300,
+ -18131,
+ -32277,
+ -9425,
+ 9601,
+ 20732,
+ -10134,
+ -15073,
+ 4219,
+ 5487,
+ 20130
+ ],
+ [
+ 26367,
+ -435,
+ -13061,
+ -18068,
+ -9373,
+ -30933,
+ 24074,
+ 15311,
+ 13290,
+ 28731,
+ -24026,
+ 15482,
+ 11812,
+ 10541,
+ -5229,
+ 12588,
+ -24495,
+ 31356,
+ 18400,
+ 21692,
+ 10181,
+ 21793,
+ 7718,
+ -19519,
+ 3739,
+ 19572,
+ -9708,
+ 29885,
+ 12339,
+ 27135,
+ -20559,
+ -31561
+ ],
+ [
+ -6111,
+ -3104,
+ -25140,
+ 10175,
+ 722,
+ 19747,
+ 28485,
+ -25152,
+ -12752,
+ 29952,
+ -10369,
+ -27458,
+ -274,
+ 30013,
+ 13223,
+ 6474,
+ 3849,
+ 16769,
+ 1524,
+ 5325,
+ -32589,
+ -31631,
+ 24451,
+ 29733,
+ 8944,
+ 17369,
+ -27968,
+ 6573,
+ 24837,
+ -23424,
+ 11632,
+ 20533
+ ],
+ [
+ 871,
+ 32633,
+ -7940,
+ 32733,
+ 30422,
+ 27198,
+ -11657,
+ 2022,
+ 31972,
+ -22785,
+ 22520,
+ 24441,
+ 21658,
+ -28619,
+ 884,
+ -3889,
+ 29940,
+ -31097,
+ 10654,
+ 19232,
+ 9716,
+ -15305,
+ -32357,
+ 7135,
+ -11407,
+ -5720,
+ 21623,
+ 21120,
+ -11580,
+ -5624,
+ 6650,
+ -29211
+ ],
+ [
+ 32731,
+ 12584,
+ -15442,
+ 19452,
+ -8430,
+ 17029,
+ 10651,
+ 21924,
+ 17057,
+ -22187,
+ 8883,
+ -1159,
+ -18306,
+ -27197,
+ 30908,
+ -26894,
+ -31621,
+ -15656,
+ 13936,
+ 31485,
+ 22464,
+ -27650,
+ 20873,
+ -30646,
+ 32495,
+ 15337,
+ -12186,
+ 32071,
+ 23521,
+ -26778,
+ 12776,
+ -30406
+ ],
+ [
+ 31813,
+ 8138,
+ 9250,
+ -29528,
+ 30947,
+ 8386,
+ -23170,
+ 6201,
+ 21539,
+ 4895,
+ -11597,
+ -1125,
+ 33,
+ 24828,
+ -4172,
+ 22059,
+ -13512,
+ 11315,
+ -5504,
+ 9572,
+ -980,
+ 20892,
+ 12446,
+ -17814,
+ 30853,
+ 15765,
+ 11680,
+ 23303,
+ -19514,
+ 23656,
+ 5631,
+ -9095
+ ],
+ [
+ 24073,
+ -16877,
+ 7412,
+ -18305,
+ -7522,
+ 23598,
+ -5444,
+ 17588,
+ -18290,
+ -9504,
+ -1277,
+ 16144,
+ -1773,
+ -29884,
+ -26987,
+ 14824,
+ 24850,
+ -6974,
+ 27468,
+ -32064,
+ -9356,
+ -25632,
+ -4277,
+ 8291,
+ -9292,
+ 12232,
+ -17570,
+ -27212,
+ -6413,
+ 10437,
+ 17332,
+ -1617
+ ],
+ [
+ -20228,
+ 20994,
+ 14133,
+ 30349,
+ 22336,
+ -6405,
+ -22186,
+ -7339,
+ 7431,
+ 18183,
+ 5321,
+ -2010,
+ 1872,
+ 17298,
+ 30232,
+ -25219,
+ -3674,
+ 2797,
+ 16299,
+ 5905,
+ 8988,
+ 26557,
+ 4600,
+ -9052,
+ -24274,
+ -21175,
+ -13220,
+ -32488,
+ -17885,
+ -30957,
+ -32658,
+ -30304
+ ],
+ [
+ 10321,
+ -3777,
+ 17803,
+ 70,
+ 29340,
+ -25900,
+ 27148,
+ -24331,
+ 25065,
+ 31243,
+ -21508,
+ 25530,
+ -15662,
+ 2518,
+ 24415,
+ -18940,
+ -26116,
+ -28088,
+ 22700,
+ -4903,
+ 13478,
+ -31769,
+ -10979,
+ 17386,
+ 13649,
+ 6582,
+ -11215,
+ 25862,
+ 28732,
+ -6866,
+ -10711,
+ 6082
+ ],
+ [
+ -6804,
+ 24309,
+ -2675,
+ 7719,
+ 8104,
+ 9501,
+ 19209,
+ -24284,
+ -25478,
+ 10639,
+ -17109,
+ -14184,
+ -13612,
+ 30669,
+ -2036,
+ 31404,
+ -20964,
+ -24328,
+ 21262,
+ 27247,
+ -5407,
+ 27713,
+ 4881,
+ 9,
+ 3240,
+ -32766,
+ 25646,
+ -23521,
+ -26099,
+ -22527,
+ -15892,
+ -7368
+ ],
+ [
+ -24020,
+ -28144,
+ 5927,
+ -28538,
+ -9422,
+ 4423,
+ -1592,
+ 7054,
+ -3452,
+ 32266,
+ 14427,
+ 2820,
+ 21228,
+ 30066,
+ 32038,
+ -1026,
+ 29709,
+ -12892,
+ 9870,
+ -726,
+ -12041,
+ 5343,
+ 8667,
+ 14072,
+ -7412,
+ 30045,
+ 31431,
+ -19789,
+ 22469,
+ 11539,
+ -1022,
+ 6763
+ ],
+ [
+ -24797,
+ -26511,
+ -17527,
+ -5437,
+ 1565,
+ 4771,
+ -4393,
+ -24886,
+ 4341,
+ 27601,
+ -10387,
+ -21469,
+ -19916,
+ -7453,
+ -1854,
+ 1432,
+ -19282,
+ 16077,
+ -30961,
+ -6929,
+ 6415,
+ 13094,
+ -9966,
+ -7834,
+ 7117,
+ 4306,
+ -24002,
+ 20580,
+ 23786,
+ -6037,
+ 21831,
+ -17697
+ ],
+ [
+ 20238,
+ -3830,
+ -16795,
+ 13855,
+ 18140,
+ -3631,
+ -10966,
+ -19910,
+ -2988,
+ 30879,
+ -12044,
+ 15243,
+ 17703,
+ 29479,
+ 8178,
+ 8104,
+ 16163,
+ 4530,
+ 19013,
+ 910,
+ 17495,
+ 2614,
+ 10141,
+ 29947,
+ 4941,
+ -3629,
+ -62,
+ 20393,
+ -26962,
+ 7208,
+ -30385,
+ 870
+ ],
+ [
+ 27855,
+ 5258,
+ 12449,
+ 5047,
+ 17882,
+ -31094,
+ 30920,
+ -24748,
+ 22633,
+ 6869,
+ 15866,
+ -18004,
+ -10730,
+ -21623,
+ -30206,
+ 17604,
+ -281,
+ -7068,
+ 12555,
+ 1970,
+ -3668,
+ 13517,
+ 26677,
+ 19047,
+ 8162,
+ -17382,
+ 4558,
+ -25109,
+ 8028,
+ -22757,
+ -10861,
+ -23883
+ ],
+ [
+ -7234,
+ 31773,
+ 14693,
+ -671,
+ 5979,
+ -12069,
+ -19768,
+ 587,
+ -22022,
+ 11082,
+ -16738,
+ -15455,
+ 8049,
+ 7967,
+ -7449,
+ -6498,
+ -25129,
+ -30492,
+ 31071,
+ -11349,
+ -18086,
+ 30551,
+ -4679,
+ 6041,
+ 9317,
+ -17184,
+ 1581,
+ 20680,
+ -10984,
+ -18125,
+ -5007,
+ 24564
+ ],
+ [
+ -15095,
+ 31618,
+ -24776,
+ -14557,
+ 31742,
+ -81,
+ -1515,
+ 27030,
+ 27565,
+ 12117,
+ -19127,
+ -31047,
+ -14218,
+ 2784,
+ -26604,
+ 16273,
+ -15416,
+ -10848,
+ -17216,
+ 4400,
+ -26216,
+ 23432,
+ 19695,
+ 31065,
+ -20595,
+ -23140,
+ 7059,
+ 23231,
+ 11362,
+ -10339,
+ -28069,
+ -1527
+ ],
+ [
+ -11098,
+ -32611,
+ 12233,
+ 5854,
+ -11700,
+ 13398,
+ 31214,
+ -14476,
+ -21714,
+ -2213,
+ -994,
+ 4608,
+ 8733,
+ 9562,
+ -4034,
+ -17303,
+ -1824,
+ -27106,
+ -1881,
+ 9362,
+ 9636,
+ -8822,
+ -7667,
+ 17437,
+ 25660,
+ 28069,
+ 22986,
+ -32721,
+ 6719,
+ -3675,
+ -3592,
+ -21151
+ ],
+ [
+ 13171,
+ 15327,
+ -3155,
+ -32564,
+ 8865,
+ -208,
+ -9230,
+ -12168,
+ 15102,
+ 9537,
+ -28874,
+ -8208,
+ -30509,
+ 15946,
+ 13850,
+ -17263,
+ 11568,
+ -15419,
+ -23849,
+ -7274,
+ 5929,
+ -108,
+ 11591,
+ 32340,
+ -8857,
+ 6045,
+ 26714,
+ 22286,
+ -16153,
+ -5643,
+ 2405,
+ -14274
+ ],
+ [
+ -23802,
+ -29390,
+ 15132,
+ 10050,
+ -24927,
+ 23234,
+ -31883,
+ -7889,
+ -10995,
+ 8859,
+ 3217,
+ 4999,
+ 15325,
+ 6046,
+ 7039,
+ -3865,
+ -6174,
+ 14052,
+ -32677,
+ -9392,
+ -22059,
+ 24872,
+ -18636,
+ 12135,
+ 16583,
+ -3199,
+ 27930,
+ 13262,
+ -18476,
+ -3736,
+ -23940,
+ -25513
+ ],
+ [
+ -18426,
+ 20678,
+ 3447,
+ -5540,
+ 4590,
+ -19893,
+ 16660,
+ -7457,
+ -22488,
+ -10648,
+ -28460,
+ -20217,
+ -13939,
+ -7779,
+ -28182,
+ 198,
+ 28307,
+ 877,
+ 16568,
+ 31120,
+ 26984,
+ -26442,
+ 6549,
+ -30163,
+ -2965,
+ 17015,
+ 3970,
+ 15912,
+ -7042,
+ -11234,
+ -6228,
+ 17193
+ ],
+ [
+ 25376,
+ 16048,
+ -29391,
+ -5486,
+ 2123,
+ 10116,
+ -15802,
+ 7999,
+ -24937,
+ 11806,
+ 6499,
+ 22344,
+ -3150,
+ 30235,
+ -15171,
+ 10159,
+ -14765,
+ -32506,
+ -32650,
+ 31986,
+ -596,
+ 7233,
+ 25634,
+ -16291,
+ -14156,
+ -29797,
+ 22210,
+ 2720,
+ 31803,
+ -16286,
+ 9689,
+ 26463
+ ],
+ [
+ 6598,
+ -2779,
+ -25710,
+ 24856,
+ -3131,
+ 9547,
+ 16618,
+ -1490,
+ -26931,
+ 4057,
+ 4651,
+ -12274,
+ -20891,
+ 24917,
+ 12787,
+ -12618,
+ -23256,
+ -11243,
+ -992,
+ -30754,
+ 23876,
+ -2923,
+ -9773,
+ 2756,
+ -8113,
+ 31074,
+ -7334,
+ -19457,
+ 31745,
+ -9015,
+ 14167,
+ 6067
+ ],
+ [
+ 17851,
+ 22969,
+ 14733,
+ -7472,
+ -21884,
+ 19765,
+ -17180,
+ 2348,
+ 15216,
+ 12304,
+ 2707,
+ -28411,
+ 1226,
+ 14781,
+ -20095,
+ 12835,
+ -15899,
+ 8136,
+ -21890,
+ -16122,
+ 14716,
+ -12294,
+ -6281,
+ 3141,
+ 24429,
+ 29878,
+ 16368,
+ -6928,
+ -20694,
+ -3844,
+ -19899,
+ -24374
+ ],
+ [
+ -3387,
+ 12588,
+ -6439,
+ 19559,
+ -15238,
+ 4378,
+ 4437,
+ -6275,
+ -1375,
+ 11170,
+ -29118,
+ 3022,
+ -10860,
+ 15536,
+ -4571,
+ 16102,
+ -16842,
+ -9818,
+ -28877,
+ -8409,
+ -11995,
+ 15883,
+ -30612,
+ 19045,
+ -5228,
+ -2537,
+ 24280,
+ 24901,
+ -9899,
+ -20622,
+ -26138,
+ 7404
+ ],
+ [
+ -17428,
+ -22293,
+ 25194,
+ 16401,
+ -10089,
+ -28623,
+ 3628,
+ -22629,
+ 17791,
+ 26741,
+ -18942,
+ -12116,
+ 11880,
+ 16190,
+ 28696,
+ -6961,
+ -3371,
+ 13091,
+ 23371,
+ 8388,
+ -2728,
+ -14479,
+ 20722,
+ -3499,
+ -25270,
+ -26878,
+ 10360,
+ -6113,
+ 27247,
+ 22399,
+ -27122,
+ 12884
+ ],
+ [
+ 6258,
+ 30840,
+ 27966,
+ 12826,
+ 19939,
+ -17968,
+ 19142,
+ 4524,
+ 23450,
+ -25067,
+ -17635,
+ 16840,
+ -4617,
+ 407,
+ -32685,
+ -17676,
+ 11599,
+ -10309,
+ 7899,
+ -15642,
+ 20174,
+ 13548,
+ 24339,
+ 22284,
+ -2820,
+ -17853,
+ 14795,
+ 18079,
+ -30072,
+ -29042,
+ -1175,
+ -32485
+ ],
+ [
+ -3191,
+ 21781,
+ -19351,
+ -11264,
+ -22196,
+ 13792,
+ 29502,
+ -9965,
+ 20192,
+ -29137,
+ 24682,
+ -2391,
+ 17040,
+ -25753,
+ -5417,
+ 25227,
+ -26626,
+ -31060,
+ -32686,
+ 12809,
+ 28467,
+ 18708,
+ -26894,
+ -1445,
+ -16309,
+ 29120,
+ 661,
+ 26165,
+ -6717,
+ -9506,
+ -7114,
+ -25566
+ ],
+ [
+ 26818,
+ -19660,
+ -2632,
+ 13602,
+ -16158,
+ -25590,
+ -5887,
+ -32415,
+ -26791,
+ -15930,
+ -17014,
+ -12027,
+ -20828,
+ 5551,
+ 7571,
+ 11650,
+ 11046,
+ -22885,
+ -5698,
+ 26301,
+ 2900,
+ 1510,
+ 1794,
+ 20071,
+ -21194,
+ 10947,
+ -364,
+ 3138,
+ 32708,
+ -18837,
+ -15881,
+ 2457
+ ],
+ [
+ 31524,
+ -14705,
+ -19012,
+ 31078,
+ -22642,
+ -19080,
+ -28387,
+ 18080,
+ 794,
+ 26890,
+ -4331,
+ -9616,
+ -10449,
+ 5993,
+ 2110,
+ 10274,
+ -401,
+ 20014,
+ -24854,
+ -2315,
+ 8013,
+ -10802,
+ 2676,
+ 23417,
+ 4105,
+ 27018,
+ 15417,
+ 29234,
+ 24465,
+ 28773,
+ -32109,
+ -4431
+ ],
+ [
+ -22163,
+ 22246,
+ 14603,
+ 4474,
+ -29698,
+ 7590,
+ -11826,
+ -30052,
+ -11265,
+ 5591,
+ -23287,
+ 8164,
+ -24352,
+ 4252,
+ 18003,
+ -9849,
+ -20723,
+ 8663,
+ -10801,
+ 15979,
+ 27253,
+ -15068,
+ -9279,
+ -26469,
+ 13566,
+ 15706,
+ -20029,
+ -30668,
+ 5132,
+ -13880,
+ 12739,
+ 26086
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_32x32_i16/test.json b/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_32x32_i16/test.json
new file mode 100644
index 000000000..4abe8db99
--- /dev/null
+++ b/operators/ew_unary/negate/negate_ERRORIF_OutputZeroPointNotZero_32x32_i16/test.json
@@ -0,0 +1,53 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "NEGATE",
+ attribute_type: "NegateAttribute",
+ attribute: {
+ input1_zp: 0,
+ output_zp: 99
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 32,
+ 32
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 32,
+ 32
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}