aboutsummaryrefslogtreecommitdiff
path: root/operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0
diff options
context:
space:
mode:
Diffstat (limited to 'operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0')
-rw-r--r--operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0/Conformance-result-0.json325
-rw-r--r--operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0/desc.json23
-rw-r--r--operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0/input-0.json123
-rw-r--r--operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0/test.json70
4 files changed, 541 insertions, 0 deletions
diff --git a/operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0/Conformance-result-0.json b/operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0/Conformance-result-0.json
new file mode 100644
index 000000000..15aedf3b4
--- /dev/null
+++ b/operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0/Conformance-result-0.json
@@ -0,0 +1,325 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ [
+ [
+ 0.380033940076828,
+ 1.875673770904541,
+ 0.10494393110275269,
+ 1.1676559448242188,
+ -1.694399118423462,
+ -1.8406625986099243
+ ],
+ [
+ 0.22955501079559326,
+ 1.4307886362075806,
+ 0.5930079221725464,
+ 0.824575662612915,
+ -1.555749773979187,
+ -1.859045386314392
+ ],
+ [
+ 0.07907607406377792,
+ 0.9859035015106201,
+ 1.0810719728469849,
+ 0.4814954102039337,
+ -1.417100429534912,
+ -1.8774281740188599
+ ],
+ [
+ 0.8115749955177307,
+ -0.4665416479110718,
+ -0.13661545515060425,
+ -0.4467903971672058,
+ -1.2981762886047363,
+ -0.4965110421180725
+ ],
+ [
+ 1.5440739393234253,
+ -1.9189867973327637,
+ -1.3543028831481934,
+ -1.375076174736023,
+ -1.179252028465271,
+ 0.8844060897827148
+ ],
+ [
+ -0.005398213863372803,
+ -1.7115001678466797,
+ 0.23046433925628662,
+ -0.6891220808029175,
+ 0.17553061246871948,
+ 0.5517644286155701
+ ],
+ [
+ -1.554870367050171,
+ -1.5040136575698853,
+ 1.8152315616607666,
+ -0.0031679884996265173,
+ 1.53031325340271,
+ 0.21912281215190887
+ ],
+ [
+ -0.29463326930999756,
+ -1.6946289539337158,
+ 0.9078142642974854,
+ -0.5376276969909668,
+ 0.827721893787384,
+ -0.6802235245704651
+ ],
+ [
+ 0.9656038284301758,
+ -1.8852442502975464,
+ 0.00039699458284303546,
+ -1.0720874071121216,
+ 0.1251305639743805,
+ -1.5795698165893555
+ ],
+ [
+ 1.346994400024414,
+ -0.447071373462677,
+ 0.886581540107727,
+ -0.8852365016937256,
+ 0.4048460125923157,
+ -0.977435827255249
+ ],
+ [
+ 1.7283849716186523,
+ 0.9911015033721924,
+ 1.77276611328125,
+ -0.6983855962753296,
+ 0.6845614910125732,
+ -0.3753017783164978
+ ],
+ [
+ 0.23824715614318848,
+ 0.966882586479187,
+ 0.8934534788131714,
+ -0.8749712109565735,
+ -0.17919546365737915,
+ -0.39923036098480225
+ ],
+ [
+ -1.2518906593322754,
+ 0.9426636099815369,
+ 0.014140864834189415,
+ -1.0515568256378174,
+ -1.0429524183273315,
+ -0.4231589138507843
+ ]
+ ],
+ [
+ [
+ -0.5468961000442505,
+ 1.1226619482040405,
+ 0.1143341064453125,
+ 0.36418062448501587,
+ -0.18157804012298584,
+ -1.7895474433898926
+ ],
+ [
+ -0.711768388748169,
+ 0.4046139121055603,
+ 0.8118928670883179,
+ 0.33832111954689026,
+ -0.5025722980499268,
+ -1.0073342323303223
+ ],
+ [
+ -0.8766407370567322,
+ -0.3134341239929199,
+ 1.5094516277313232,
+ 0.31246161460876465,
+ -0.8235665559768677,
+ -0.22512102127075195
+ ],
+ [
+ 0.29537785053253174,
+ -1.025742769241333,
+ 0.26250386238098145,
+ -0.5230682492256165,
+ -1.1454956531524658,
+ 0.5163940191268921
+ ],
+ [
+ 1.4673964977264404,
+ -1.738051414489746,
+ -0.9844439029693604,
+ -1.3585981130599976,
+ -1.4674246311187744,
+ 1.2579090595245361
+ ],
+ [
+ 0.3375323414802551,
+ -0.7560622692108154,
+ -0.5065214037895203,
+ -0.3263983130455017,
+ 0.10430318117141724,
+ 0.7322630286216736
+ ],
+ [
+ -0.7923317551612854,
+ 0.22592687606811523,
+ -0.0285988450050354,
+ 0.7058014273643494,
+ 1.6760308742523193,
+ 0.206617072224617
+ ],
+ [
+ 0.23860038816928864,
+ -0.15811915695667267,
+ -0.43191447854042053,
+ -0.1720222532749176,
+ 0.679688572883606,
+ 0.04358905553817749
+ ],
+ [
+ 1.269532561302185,
+ -0.5421651601791382,
+ -0.8352301120758057,
+ -1.0498459339141846,
+ -0.3166537880897522,
+ -0.11943894624710083
+ ],
+ [
+ 1.238679051399231,
+ 0.42385220527648926,
+ -0.3711017668247223,
+ -0.6998546123504639,
+ -0.05502063035964966,
+ -0.4412655532360077
+ ],
+ [
+ 1.2078254222869873,
+ 1.3898695707321167,
+ 0.09302657842636108,
+ -0.3498632311820984,
+ 0.20661252737045288,
+ -0.7630921602249146
+ ],
+ [
+ 0.20035848021507263,
+ 1.1344990730285645,
+ -0.36464717984199524,
+ -0.844841480255127,
+ -0.4366872012615204,
+ -0.13563662767410278
+ ],
+ [
+ -0.8071084022521973,
+ 0.8791285753250122,
+ -0.8223209381103516,
+ -1.3398196697235107,
+ -1.0799869298934937,
+ 0.491818904876709
+ ]
+ ],
+ [
+ [
+ -1.4738261699676514,
+ 0.36965012550354004,
+ 0.12372427433729172,
+ -0.4392947256565094,
+ 1.3312430381774902,
+ -1.7384322881698608
+ ],
+ [
+ -1.6530919075012207,
+ -0.62156081199646,
+ 1.0307778120040894,
+ -0.1479334533214569,
+ 0.5506051778793335,
+ -0.15562307834625244
+ ],
+ [
+ -1.8323575258255005,
+ -1.61277174949646,
+ 1.9378314018249512,
+ 0.1434278041124344,
+ -0.23003266751766205,
+ 1.427186131477356
+ ],
+ [
+ -0.22081929445266724,
+ -1.5849440097808838,
+ 0.6616232395172119,
+ -0.5993461012840271,
+ -0.9928148984909058,
+ 1.529299020767212
+ ],
+ [
+ 1.390718936920166,
+ -1.557116150856018,
+ -0.6145849823951721,
+ -1.3421200513839722,
+ -1.7555971145629883,
+ 1.6314119100570679
+ ],
+ [
+ 0.6804628968238831,
+ 0.19937562942504883,
+ -1.2435071468353271,
+ 0.03632539510726929,
+ 0.03307574987411499,
+ 0.9127616286277771
+ ],
+ [
+ -0.029793191701173782,
+ 1.9558674097061157,
+ -1.8724292516708374,
+ 1.4147708415985107,
+ 1.8217486143112183,
+ 0.19411133229732513
+ ],
+ [
+ 0.7718340754508972,
+ 1.3783906698226929,
+ -1.7716431617736816,
+ 0.1935831904411316,
+ 0.5316552519798279,
+ 0.7674016356468201
+ ],
+ [
+ 1.5734612941741943,
+ 0.8009138703346252,
+ -1.6708571910858154,
+ -1.0276044607162476,
+ -0.7584381103515625,
+ 1.3406919240951538
+ ],
+ [
+ 1.1303634643554688,
+ 1.2947757244110107,
+ -1.6287851333618164,
+ -0.5144726634025574,
+ -0.514887273311615,
+ 0.09490472078323364
+ ],
+ [
+ 0.6872657537460327,
+ 1.788637638092041,
+ -1.5867129564285278,
+ -0.0013408366357907653,
+ -0.2713364362716675,
+ -1.1508824825286865
+ ],
+ [
+ 0.16246981918811798,
+ 1.302115559577942,
+ -1.6227478981018066,
+ -0.8147117495536804,
+ -0.6941789388656616,
+ 0.12795710563659668
+ ],
+ [
+ -0.36232611536979675,
+ 0.8155934810638428,
+ -1.658782720565796,
+ -1.6280826330184937,
+ -1.1170214414596558,
+ 1.4067966938018799
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0/desc.json b/operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0/desc.json
new file mode 100644
index 000000000..d418e4060
--- /dev/null
+++ b/operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0/desc.json
@@ -0,0 +1,23 @@
+{
+ "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": 0,
+ "expected_failure": false,
+ "expected_result_file": [
+ "Conformance-result-0.npy"
+ ],
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0/input-0.json b/operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0/input-0.json
new file mode 100644
index 000000000..59f297f20
--- /dev/null
+++ b/operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0/input-0.json
@@ -0,0 +1,123 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ [
+ [
+ 0.380033940076828,
+ 1.875673770904541,
+ 0.10494393110275269,
+ 1.1676559448242188,
+ -1.694399118423462,
+ -1.8406625986099243
+ ],
+ [
+ 0.07907607406377792,
+ 0.9859035015106201,
+ 1.0810719728469849,
+ 0.4814954102039337,
+ -1.417100429534912,
+ -1.8774281740188599
+ ],
+ [
+ 1.5440739393234253,
+ -1.9189867973327637,
+ -1.3543028831481934,
+ -1.375076174736023,
+ -1.179252028465271,
+ 0.8844060897827148
+ ],
+ [
+ -1.554870367050171,
+ -1.5040136575698853,
+ 1.8152315616607666,
+ -0.0031679884996265173,
+ 1.53031325340271,
+ 0.21912281215190887
+ ],
+ [
+ 0.9656038284301758,
+ -1.8852442502975464,
+ 0.00039699458284303546,
+ -1.0720874071121216,
+ 0.1251305639743805,
+ -1.5795698165893555
+ ],
+ [
+ 1.7283849716186523,
+ 0.9911015033721924,
+ 1.77276611328125,
+ -0.6983855962753296,
+ 0.6845614910125732,
+ -0.3753017783164978
+ ],
+ [
+ -1.2518906593322754,
+ 0.9426636099815369,
+ 0.014140864834189415,
+ -1.0515568256378174,
+ -1.0429524183273315,
+ -0.4231589138507843
+ ]
+ ],
+ [
+ [
+ -1.4738261699676514,
+ 0.36965012550354004,
+ 0.12372427433729172,
+ -0.4392947256565094,
+ 1.3312430381774902,
+ -1.7384322881698608
+ ],
+ [
+ -1.8323575258255005,
+ -1.61277174949646,
+ 1.9378314018249512,
+ 0.1434278041124344,
+ -0.23003266751766205,
+ 1.427186131477356
+ ],
+ [
+ 1.390718936920166,
+ -1.557116150856018,
+ -0.6145849823951721,
+ -1.3421200513839722,
+ -1.7555971145629883,
+ 1.6314119100570679
+ ],
+ [
+ -0.029793191701173782,
+ 1.9558674097061157,
+ -1.8724292516708374,
+ 1.4147708415985107,
+ 1.8217486143112183,
+ 0.19411133229732513
+ ],
+ [
+ 1.5734612941741943,
+ 0.8009138703346252,
+ -1.6708571910858154,
+ -1.0276044607162476,
+ -0.7584381103515625,
+ 1.3406919240951538
+ ],
+ [
+ 0.6872657537460327,
+ 1.788637638092041,
+ -1.5867129564285278,
+ -0.0013408366357907653,
+ -0.2713364362716675,
+ -1.1508824825286865
+ ],
+ [
+ -0.36232611536979675,
+ 0.8155934810638428,
+ -1.658782720565796,
+ -1.6280826330184937,
+ -1.1170214414596558,
+ 1.4067966938018799
+ ]
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0/test.json b/operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0/test.json
new file mode 100644
index 000000000..68964c21e
--- /dev/null
+++ b/operators/image/resize/resize_1x2x7x6_f32_modeB_outf32_sc2x1x2x1_off0x0_bor0x0/test.json
@@ -0,0 +1,70 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESIZE",
+ attribute_type: "ResizeAttribute",
+ attribute: {
+ scale: [
+ 2,
+ 1,
+ 2,
+ 1
+ ],
+ offset: [
+ 0,
+ 0
+ ],
+ border: [
+ 0,
+ 0
+ ],
+ mode: "BILINEAR"
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 2,
+ 7,
+ 6
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 3,
+ 13,
+ 6
+ ],
+ type: "FP32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}