aboutsummaryrefslogtreecommitdiff
path: root/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x10x5x15_i16_modeB_outi48_sc2x1x2x1_off0...
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 12:50:25 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 12:50:25 +0100
commit52bfc1a26ec8a1583a274bedf848f3ff3047a2d6 (patch)
tree51cfeb0a1d0d9dcbd4f5aa25a8af6551a41baf58 /operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x10x5x15_i16_modeB_outi48_sc2x1x2x1_off0x33_bor0x0
parent7746767e3a0a421bdf64ef5cf0c8926bcfa86d1f (diff)
downloadconformance_tests-52bfc1a26ec8a1583a274bedf848f3ff3047a2d6.tar.gz
Updating IMAGE tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Ic72d5ee6733ee0b36bc8c851dc762838534eff5d
Diffstat (limited to 'operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x10x5x15_i16_modeB_outi48_sc2x1x2x1_off0x33_bor0x0')
-rw-r--r--operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x10x5x15_i16_modeB_outi48_sc2x1x2x1_off0x33_bor0x0/desc.json22
-rw-r--r--operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x10x5x15_i16_modeB_outi48_sc2x1x2x1_off0x33_bor0x0/input-0.json877
-rw-r--r--operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x10x5x15_i16_modeB_outi48_sc2x1x2x1_off0x33_bor0x0/test.json70
3 files changed, 969 insertions, 0 deletions
diff --git a/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x10x5x15_i16_modeB_outi48_sc2x1x2x1_off0x33_bor0x0/desc.json b/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x10x5x15_i16_modeB_outi48_sc2x1x2x1_off0x33_bor0x0/desc.json
new file mode 100644
index 000000000..c02e71c1c
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x10x5x15_i16_modeB_outi48_sc2x1x2x1_off0x33_bor0x0/desc.json
@@ -0,0 +1,22 @@
+{
+ "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": "Offset value larger than or equal to maximum value",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x10x5x15_i16_modeB_outi48_sc2x1x2x1_off0x33_bor0x0/input-0.json b/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x10x5x15_i16_modeB_outi48_sc2x1x2x1_off0x33_bor0x0/input-0.json
new file mode 100644
index 000000000..f3f2b7b3b
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x10x5x15_i16_modeB_outi48_sc2x1x2x1_off0x33_bor0x0/input-0.json
@@ -0,0 +1,877 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ [
+ 16655,
+ 30055,
+ -28772,
+ -3833,
+ 18831,
+ 30692,
+ -18903,
+ 23046,
+ -9993,
+ -14020,
+ -8211,
+ -4391,
+ -2517,
+ -5839,
+ 11629
+ ],
+ [
+ -9778,
+ 9096,
+ 24614,
+ -27014,
+ 22930,
+ 10446,
+ 14722,
+ 28743,
+ 18494,
+ -17930,
+ -22517,
+ -12123,
+ -1576,
+ 18251,
+ 2555
+ ],
+ [
+ -14792,
+ 29831,
+ -24113,
+ 10179,
+ -2313,
+ -29389,
+ 4733,
+ 9657,
+ 10479,
+ -26728,
+ 4356,
+ -32674,
+ -26122,
+ 605,
+ -11262
+ ],
+ [
+ -31832,
+ 11269,
+ -11917,
+ 12670,
+ -16297,
+ 23089,
+ 4929,
+ -15883,
+ 6715,
+ 4840,
+ -15663,
+ -24310,
+ 12071,
+ 11297,
+ -12893
+ ],
+ [
+ -7826,
+ -25815,
+ -12718,
+ 27091,
+ -13061,
+ 5859,
+ 1411,
+ 27812,
+ -6709,
+ -32102,
+ 13122,
+ -10943,
+ 29264,
+ -7276,
+ -20157
+ ]
+ ],
+ [
+ [
+ -22987,
+ 23241,
+ 15630,
+ 32007,
+ 19619,
+ -4658,
+ 24883,
+ -31837,
+ 17812,
+ 10783,
+ 31725,
+ -21679,
+ 9590,
+ 19104,
+ -6595
+ ],
+ [
+ -13444,
+ -2960,
+ -23302,
+ 1032,
+ -26767,
+ -13748,
+ -21360,
+ 28934,
+ 22680,
+ -4311,
+ 21822,
+ 29700,
+ 6936,
+ 25607,
+ -838
+ ],
+ [
+ -19064,
+ 16571,
+ -124,
+ -28811,
+ -11210,
+ -12324,
+ -21900,
+ -27435,
+ -6992,
+ -22066,
+ 5518,
+ -20163,
+ 10327,
+ -22325,
+ -13677
+ ],
+ [
+ 20093,
+ 20507,
+ 26663,
+ -10930,
+ -12534,
+ -8175,
+ -22428,
+ -23358,
+ 19247,
+ 15196,
+ -11493,
+ 10830,
+ 28901,
+ -31007,
+ -25195
+ ],
+ [
+ -3653,
+ 2184,
+ 13778,
+ -1901,
+ 21875,
+ 26750,
+ 13987,
+ -12199,
+ -9431,
+ -15293,
+ -9258,
+ 20232,
+ -4115,
+ -29558,
+ 28862
+ ]
+ ],
+ [
+ [
+ 30571,
+ 27864,
+ 3608,
+ -16188,
+ -4700,
+ 27714,
+ 14199,
+ -26416,
+ 12951,
+ -13771,
+ 2997,
+ 8764,
+ -8403,
+ -12607,
+ -29760
+ ],
+ [
+ -21280,
+ 27731,
+ 9357,
+ -12036,
+ -22024,
+ -2853,
+ 3796,
+ -1005,
+ -1025,
+ -29863,
+ -7639,
+ 7274,
+ 4733,
+ -32203,
+ 7808
+ ],
+ [
+ 29953,
+ -15582,
+ -6885,
+ 26165,
+ -21126,
+ 22843,
+ -23117,
+ -19936,
+ -15235,
+ -17223,
+ 31899,
+ 25669,
+ 12756,
+ -12935,
+ -26218
+ ],
+ [
+ -22049,
+ 23471,
+ 24506,
+ -26413,
+ -16207,
+ -12006,
+ 1988,
+ -31355,
+ -26886,
+ 7325,
+ -29376,
+ -13701,
+ 15976,
+ 28615,
+ 11561
+ ],
+ [
+ -12861,
+ -30163,
+ -20713,
+ 16131,
+ -32388,
+ -23191,
+ 28449,
+ 8966,
+ 14396,
+ -14836,
+ 3966,
+ 25756,
+ -2950,
+ 21777,
+ 16114
+ ]
+ ],
+ [
+ [
+ 31386,
+ 12709,
+ -3996,
+ -11902,
+ 16236,
+ 2000,
+ -27032,
+ 6799,
+ -19453,
+ -32004,
+ 9079,
+ -21115,
+ 29033,
+ 21624,
+ 10954
+ ],
+ [
+ 24329,
+ 13196,
+ 10578,
+ 21101,
+ 16057,
+ -22657,
+ 8240,
+ 20984,
+ -31661,
+ -9992,
+ -20772,
+ 20021,
+ -25867,
+ 12832,
+ -23031
+ ],
+ [
+ 2285,
+ 11282,
+ -28641,
+ -21518,
+ 4010,
+ 24962,
+ -28373,
+ 30252,
+ -24232,
+ 26955,
+ -23955,
+ 7060,
+ 6436,
+ -26443,
+ -19812
+ ],
+ [
+ 29145,
+ -31977,
+ -27608,
+ 19432,
+ -32749,
+ -2251,
+ -26711,
+ -8299,
+ -600,
+ -32310,
+ -3394,
+ -26343,
+ 8947,
+ 28924,
+ -3320
+ ],
+ [
+ 1630,
+ 4240,
+ -16021,
+ 31231,
+ -21361,
+ -12377,
+ -11232,
+ -29070,
+ 27606,
+ -13507,
+ -21894,
+ -10542,
+ 2910,
+ 16313,
+ -25873
+ ]
+ ],
+ [
+ [
+ -1085,
+ -11746,
+ -5940,
+ 30415,
+ 17244,
+ 2676,
+ 587,
+ 10436,
+ -20542,
+ 1038,
+ 5937,
+ -22125,
+ 17259,
+ -4719,
+ 5056
+ ],
+ [
+ 31334,
+ -23417,
+ 32062,
+ 4487,
+ 1420,
+ 21241,
+ 17246,
+ -28469,
+ -3581,
+ 5139,
+ 31819,
+ 25384,
+ -3216,
+ 22127,
+ -5026
+ ],
+ [
+ -19019,
+ 6698,
+ 1523,
+ -189,
+ 6714,
+ 12826,
+ -21999,
+ -9692,
+ 16862,
+ -18935,
+ -6210,
+ 30090,
+ -3029,
+ -29916,
+ 8999
+ ],
+ [
+ -764,
+ 11520,
+ 23438,
+ 4052,
+ -22360,
+ -6223,
+ -6236,
+ -22177,
+ 2146,
+ 7411,
+ 2796,
+ 25342,
+ 3100,
+ 26816,
+ 17742
+ ],
+ [
+ 24726,
+ 25833,
+ 31434,
+ -27031,
+ -25518,
+ -22799,
+ 7753,
+ -30397,
+ -24991,
+ -15764,
+ 10499,
+ 32625,
+ 12745,
+ 25537,
+ 6138
+ ]
+ ],
+ [
+ [
+ 1254,
+ 12350,
+ 18194,
+ -6686,
+ 2775,
+ -12239,
+ 722,
+ -28015,
+ 10514,
+ -17333,
+ 9850,
+ 17515,
+ 10764,
+ -2801,
+ 18572
+ ],
+ [
+ -5332,
+ 14196,
+ -25201,
+ 11416,
+ 10506,
+ 15404,
+ -7198,
+ -27449,
+ -24198,
+ -17378,
+ 4354,
+ -27857,
+ -25061,
+ -23288,
+ 1714
+ ],
+ [
+ -2358,
+ 10347,
+ 30270,
+ 14672,
+ -27642,
+ -26572,
+ -32120,
+ -20388,
+ -18944,
+ -4178,
+ -28,
+ -22384,
+ 31236,
+ -16807,
+ -7210
+ ],
+ [
+ 11380,
+ -21291,
+ -15523,
+ -8376,
+ -10809,
+ -15186,
+ -19874,
+ -26305,
+ -4419,
+ -23130,
+ 1385,
+ -30950,
+ -11209,
+ 7059,
+ 13952
+ ],
+ [
+ -15837,
+ 28584,
+ -12136,
+ 6299,
+ -27133,
+ 19558,
+ 21990,
+ -15670,
+ 22751,
+ 31669,
+ 8526,
+ -21679,
+ 22691,
+ 23101,
+ 27682
+ ]
+ ],
+ [
+ [
+ 10213,
+ -13181,
+ 20198,
+ 2294,
+ -14639,
+ -12612,
+ 2896,
+ 7555,
+ 23840,
+ -13533,
+ 8208,
+ -256,
+ -48,
+ -15879,
+ 28802
+ ],
+ [
+ -15103,
+ -2532,
+ -7589,
+ 4222,
+ 32584,
+ 4776,
+ -19409,
+ -8881,
+ -32595,
+ -16155,
+ 25752,
+ 32675,
+ 4214,
+ 20808,
+ -21749
+ ],
+ [
+ 28705,
+ -25760,
+ -22036,
+ 5061,
+ -16472,
+ 14988,
+ 15352,
+ 8658,
+ -27789,
+ 31133,
+ 22225,
+ -28270,
+ -10435,
+ 28644,
+ 7045
+ ],
+ [
+ -13732,
+ -15355,
+ -20881,
+ -30901,
+ 29707,
+ 1639,
+ -22001,
+ -21692,
+ -28311,
+ 20030,
+ -7626,
+ 23424,
+ -28667,
+ 5085,
+ 13347
+ ],
+ [
+ 13052,
+ 20230,
+ -9840,
+ -7255,
+ -21793,
+ -24543,
+ 26172,
+ 18088,
+ 20136,
+ -1982,
+ -28560,
+ -3437,
+ 9966,
+ 29553,
+ -24752
+ ]
+ ],
+ [
+ [
+ 1393,
+ -11908,
+ 19067,
+ 31154,
+ -11348,
+ 8227,
+ 24696,
+ -15345,
+ -32538,
+ 14547,
+ -25995,
+ 14431,
+ 27301,
+ 28426,
+ -25980
+ ],
+ [
+ 16627,
+ -21335,
+ 10901,
+ 2034,
+ -16883,
+ -6310,
+ 14788,
+ 11420,
+ 23390,
+ -12966,
+ 23877,
+ 9071,
+ 26665,
+ 19619,
+ -22166
+ ],
+ [
+ -6583,
+ -18482,
+ -9897,
+ -17740,
+ -3738,
+ 24914,
+ -31399,
+ -21805,
+ -11502,
+ -11763,
+ -11301,
+ -15699,
+ 18290,
+ 16730,
+ -15517
+ ],
+ [
+ 31994,
+ 17660,
+ 5461,
+ 31936,
+ 29778,
+ 23907,
+ 17869,
+ 6201,
+ -9825,
+ 23550,
+ 12485,
+ -29233,
+ 30883,
+ -19764,
+ 25796
+ ],
+ [
+ 19607,
+ -25014,
+ -27917,
+ 16568,
+ -8071,
+ 15563,
+ 31764,
+ 25838,
+ -7580,
+ 22697,
+ 1073,
+ -9047,
+ -27588,
+ -813,
+ 26628
+ ]
+ ],
+ [
+ [
+ -29062,
+ 31975,
+ -15004,
+ -3039,
+ -2045,
+ 26103,
+ -25623,
+ 21828,
+ 23022,
+ -22180,
+ 25793,
+ -7793,
+ -29816,
+ -16376,
+ -21108
+ ],
+ [
+ -12609,
+ -22312,
+ 21492,
+ 4173,
+ -31514,
+ -28738,
+ -18962,
+ 20855,
+ -24390,
+ -750,
+ 20084,
+ -14636,
+ 3082,
+ -431,
+ -19084
+ ],
+ [
+ -3420,
+ 11227,
+ 23265,
+ 16393,
+ 4390,
+ -15510,
+ -4552,
+ 15649,
+ -22470,
+ -7666,
+ -4349,
+ -1774,
+ 26492,
+ 16066,
+ -10188
+ ],
+ [
+ -26170,
+ -19538,
+ -7877,
+ -15853,
+ 24133,
+ 9404,
+ 27670,
+ 12074,
+ 29795,
+ 28670,
+ -31673,
+ 16596,
+ -1205,
+ -1899,
+ -11822
+ ],
+ [
+ 7711,
+ -13061,
+ -19484,
+ 330,
+ 2627,
+ -456,
+ 1453,
+ 10391,
+ -532,
+ -2648,
+ -12258,
+ 32765,
+ -827,
+ -21919,
+ -3652
+ ]
+ ],
+ [
+ [
+ 20841,
+ -24933,
+ -20985,
+ 32482,
+ -28967,
+ 24838,
+ 10877,
+ 4589,
+ -8274,
+ -32069,
+ 21188,
+ -13426,
+ -11015,
+ -24594,
+ -28056
+ ],
+ [
+ -24347,
+ 12661,
+ 12476,
+ -7002,
+ 1529,
+ -31821,
+ 30392,
+ 12871,
+ 15529,
+ 18043,
+ -2908,
+ -6553,
+ 11579,
+ 6085,
+ -30240
+ ],
+ [
+ 30960,
+ 7791,
+ -20268,
+ -19420,
+ 6344,
+ 7248,
+ -2111,
+ 5975,
+ 5045,
+ 21634,
+ -19334,
+ 16537,
+ -3763,
+ -14096,
+ -24084
+ ],
+ [
+ 2317,
+ 1536,
+ -24890,
+ -7518,
+ -25360,
+ 27462,
+ -29405,
+ 7862,
+ -20011,
+ 2936,
+ 12520,
+ 10336,
+ 26548,
+ -674,
+ -25148
+ ],
+ [
+ -27624,
+ 29895,
+ 18320,
+ -1008,
+ 22379,
+ -19474,
+ -18113,
+ 4224,
+ 14566,
+ -11654,
+ -14349,
+ 8404,
+ -15148,
+ 7965,
+ 6072
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x10x5x15_i16_modeB_outi48_sc2x1x2x1_off0x33_bor0x0/test.json b/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x10x5x15_i16_modeB_outi48_sc2x1x2x1_off0x33_bor0x0/test.json
new file mode 100644
index 000000000..8d207fcf9
--- /dev/null
+++ b/operators/image/resize/resize_ERRORIF_OffsetLargerEqualMax_1x10x5x15_i16_modeB_outi48_sc2x1x2x1_off0x33_bor0x0/test.json
@@ -0,0 +1,70 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESIZE",
+ attribute_type: "ResizeAttribute",
+ attribute: {
+ scale: [
+ 2,
+ 1,
+ 2,
+ 1
+ ],
+ offset: [
+ 0,
+ 33
+ ],
+ border: [
+ 0,
+ 0
+ ],
+ mode: "BILINEAR"
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 10,
+ 5,
+ 15
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 19,
+ 1,
+ 15
+ ],
+ type: "INT48"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}