aboutsummaryrefslogtreecommitdiff
path: root/operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_10x32x1_i32_outINT16_sc0_dr0_pc0
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:08:54 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:08:54 +0100
commitf1e20a471670b0b0b20fff7de176cfdc1bf8ad8a (patch)
treea2b3743e596604aa7956bc2e74d2cee4c053bb41 /operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_10x32x1_i32_outINT16_sc0_dr0_pc0
parent0ea9b225e914a7ee00ebd0bc7c3861dc6230a900 (diff)
downloadconformance_tests-f1e20a471670b0b0b20fff7de176cfdc1bf8ad8a.tar.gz
Updating RESCALE tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I411332528a9e94c4fa9f03535c9e778675381c30
Diffstat (limited to 'operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_10x32x1_i32_outINT16_sc0_dr0_pc0')
-rw-r--r--operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_10x32x1_i32_outINT16_sc0_dr0_pc0/desc.json18
-rw-r--r--operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_10x32x1_i32_outINT16_sc0_dr0_pc0/input-0.json985
-rw-r--r--operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_10x32x1_i32_outINT16_sc0_dr0_pc0/test.json65
3 files changed, 1068 insertions, 0 deletions
diff --git a/operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_10x32x1_i32_outINT16_sc0_dr0_pc0/desc.json b/operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_10x32x1_i32_outINT16_sc0_dr0_pc0/desc.json
new file mode 100644
index 000000000..9384c51a7
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_10x32x1_i32_outINT16_sc0_dr0_pc0/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": "Op output list does not match expected output"
+} \ No newline at end of file
diff --git a/operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_10x32x1_i32_outINT16_sc0_dr0_pc0/input-0.json b/operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_10x32x1_i32_outINT16_sc0_dr0_pc0/input-0.json
new file mode 100644
index 000000000..8db325449
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_10x32x1_i32_outINT16_sc0_dr0_pc0/input-0.json
@@ -0,0 +1,985 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ 1041437679
+ ],
+ [
+ 404332338
+ ],
+ [
+ 634642131
+ ],
+ [
+ 45859752
+ ],
+ [
+ -466215416
+ ],
+ [
+ 707265351
+ ],
+ [
+ 391429567
+ ],
+ [
+ 579449532
+ ],
+ [
+ -857405411
+ ],
+ [
+ -1713057673
+ ],
+ [
+ -1794471826
+ ],
+ [
+ 1034830149
+ ],
+ [
+ 2112471538
+ ],
+ [
+ -1332738745
+ ],
+ [
+ -1162563201
+ ],
+ [
+ 1924137205
+ ],
+ [
+ 2021028689
+ ],
+ [
+ 1434093408
+ ],
+ [
+ 477267747
+ ],
+ [
+ -1789348452
+ ],
+ [
+ 155870659
+ ],
+ [
+ 557912191
+ ],
+ [
+ -626363192
+ ],
+ [
+ -1914744536
+ ],
+ [
+ 1889517959
+ ],
+ [
+ 927113923
+ ],
+ [
+ 1503568507
+ ],
+ [
+ 116988823
+ ],
+ [
+ -958566731
+ ],
+ [
+ 1502001007
+ ],
+ [
+ -552116993
+ ],
+ [
+ -1400266373
+ ]
+ ],
+ [
+ [
+ -1100264548
+ ],
+ [
+ -1599803973
+ ],
+ [
+ -266241826
+ ],
+ [
+ 1809575540
+ ],
+ [
+ -838153100
+ ],
+ [
+ 1739882493
+ ],
+ [
+ 340933671
+ ],
+ [
+ -1761290829
+ ],
+ [
+ -1796807648
+ ],
+ [
+ -2019503472
+ ],
+ [
+ -802766217
+ ],
+ [
+ 919156897
+ ],
+ [
+ -774077084
+ ],
+ [
+ 201882181
+ ],
+ [
+ 1125477043
+ ],
+ [
+ 1097458659
+ ],
+ [
+ 1935265415
+ ],
+ [
+ 529965844
+ ],
+ [
+ -1153870602
+ ],
+ [
+ 1658901263
+ ],
+ [
+ -1330251355
+ ],
+ [
+ -1135686708
+ ],
+ [
+ -385119116
+ ],
+ [
+ -1445686544
+ ],
+ [
+ -1331347589
+ ],
+ [
+ -1809326512
+ ],
+ [
+ -168437628
+ ],
+ [
+ -1844602353
+ ],
+ [
+ 1077719167
+ ],
+ [
+ -1612617289
+ ],
+ [
+ -1702135566
+ ],
+ [
+ -104677454
+ ]
+ ],
+ [
+ [
+ -770007276
+ ],
+ [
+ -2111955488
+ ],
+ [
+ 564547304
+ ],
+ [
+ -1452148536
+ ],
+ [
+ 1699165082
+ ],
+ [
+ 1900602269
+ ],
+ [
+ 1975893418
+ ],
+ [
+ -607648285
+ ],
+ [
+ 533396881
+ ],
+ [
+ 1644995470
+ ],
+ [
+ -1187800399
+ ],
+ [
+ 574981690
+ ],
+ [
+ 708797532
+ ],
+ [
+ -1142586220
+ ],
+ [
+ 318067943
+ ],
+ [
+ -703195485
+ ],
+ [
+ 1433957359
+ ],
+ [
+ 1194697293
+ ],
+ [
+ -799258328
+ ],
+ [
+ -195313822
+ ],
+ [
+ -1411394380
+ ],
+ [
+ 1864774482
+ ],
+ [
+ 1035652560
+ ],
+ [
+ -1766361621
+ ],
+ [
+ 1896265788
+ ],
+ [
+ 534403542
+ ],
+ [
+ -671456724
+ ],
+ [
+ -990968398
+ ],
+ [
+ 467739426
+ ],
+ [
+ -649438478
+ ],
+ [
+ -2097493168
+ ],
+ [
+ 452375803
+ ]
+ ],
+ [
+ [
+ 1091813977
+ ],
+ [
+ -1101474270
+ ],
+ [
+ -2074977053
+ ],
+ [
+ 305659175
+ ],
+ [
+ -1932652646
+ ],
+ [
+ 205210265
+ ],
+ [
+ -542126377
+ ],
+ [
+ -460499590
+ ],
+ [
+ -2077608765
+ ],
+ [
+ 199437507
+ ],
+ [
+ -238435194
+ ],
+ [
+ -1469260944
+ ],
+ [
+ 1608204338
+ ],
+ [
+ -1403184618
+ ],
+ [
+ -1573030500
+ ],
+ [
+ 1257793832
+ ],
+ [
+ -535582377
+ ],
+ [
+ -1434975103
+ ],
+ [
+ -230080892
+ ],
+ [
+ 824254982
+ ],
+ [
+ -1630945256
+ ],
+ [
+ 221708385
+ ],
+ [
+ -285054881
+ ],
+ [
+ 2010005810
+ ],
+ [
+ 1749447531
+ ],
+ [
+ -1978706133
+ ],
+ [
+ 1538306198
+ ],
+ [
+ 710066695
+ ],
+ [
+ 297190853
+ ],
+ [
+ -477420945
+ ],
+ [
+ -1643128164
+ ],
+ [
+ -877915643
+ ]
+ ],
+ [
+ [
+ 444857955
+ ],
+ [
+ -1352169955
+ ],
+ [
+ -1268764712
+ ],
+ [
+ -711483100
+ ],
+ [
+ -966503943
+ ],
+ [
+ -517285095
+ ],
+ [
+ -661841360
+ ],
+ [
+ 1095547200
+ ],
+ [
+ -172603464
+ ],
+ [
+ 200214081
+ ],
+ [
+ 728490358
+ ],
+ [
+ -1767938885
+ ],
+ [
+ -1859923578
+ ],
+ [
+ 1414222439
+ ],
+ [
+ -473255673
+ ],
+ [
+ 502124952
+ ],
+ [
+ -1543799978
+ ],
+ [
+ 1592841423
+ ],
+ [
+ 6699831
+ ],
+ [
+ 172673126
+ ],
+ [
+ 798962953
+ ],
+ [
+ 840159708
+ ],
+ [
+ -499486672
+ ],
+ [
+ 1023708689
+ ],
+ [
+ 108667511
+ ],
+ [
+ 21641589
+ ],
+ [
+ -1526770291
+ ],
+ [
+ 1958790881
+ ],
+ [
+ -1492712070
+ ],
+ [
+ -852919456
+ ],
+ [
+ -232886420
+ ],
+ [
+ -377182219
+ ]
+ ],
+ [
+ [
+ -507815077
+ ],
+ [
+ -1411679078
+ ],
+ [
+ -241618171
+ ],
+ [
+ -1335712141
+ ],
+ [
+ -2067240547
+ ],
+ [
+ 445818080
+ ],
+ [
+ -671078687
+ ],
+ [
+ -1362470699
+ ],
+ [
+ 355133268
+ ],
+ [
+ 1451646903
+ ],
+ [
+ 1644850922
+ ],
+ [
+ -91004119
+ ],
+ [
+ -308387194
+ ],
+ [
+ -283942734
+ ],
+ [
+ 1178999454
+ ],
+ [
+ -970538193
+ ],
+ [
+ 458501685
+ ],
+ [
+ -1746915439
+ ],
+ [
+ -12842398
+ ],
+ [
+ 200683121
+ ],
+ [
+ -1530918500
+ ],
+ [
+ 703264094
+ ],
+ [
+ -1101871776
+ ],
+ [
+ 1763679361
+ ],
+ [
+ -1782508497
+ ],
+ [
+ -485545257
+ ],
+ [
+ 683614721
+ ],
+ [
+ -36820124
+ ],
+ [
+ 2088497862
+ ],
+ [
+ 1188946973
+ ],
+ [
+ -1491880764
+ ],
+ [
+ -1615911376
+ ]
+ ],
+ [
+ [
+ -1187810322
+ ],
+ [
+ -107549281
+ ],
+ [
+ -1912575773
+ ],
+ [
+ 976950728
+ ],
+ [
+ -788995958
+ ],
+ [
+ -307411109
+ ],
+ [
+ 1682072044
+ ],
+ [
+ 1311820061
+ ],
+ [
+ -356160246
+ ],
+ [
+ 1811530827
+ ],
+ [
+ 1250439742
+ ],
+ [
+ -666044819
+ ],
+ [
+ -100274702
+ ],
+ [
+ 31229229
+ ],
+ [
+ -1107228675
+ ],
+ [
+ 1863489352
+ ],
+ [
+ -363262206
+ ],
+ [
+ -1925393553
+ ],
+ [
+ -1925306235
+ ],
+ [
+ -980050744
+ ],
+ [
+ -1405182352
+ ],
+ [
+ -2091430451
+ ],
+ [
+ -965429762
+ ],
+ [
+ 1673726358
+ ],
+ [
+ 164793688
+ ],
+ [
+ -1685561112
+ ],
+ [
+ 1058441197
+ ],
+ [
+ 1704938977
+ ],
+ [
+ 1697830523
+ ],
+ [
+ 607450326
+ ],
+ [
+ -1533066105
+ ],
+ [
+ 65705121
+ ]
+ ],
+ [
+ [
+ -1171716224
+ ],
+ [
+ -1405827424
+ ],
+ [
+ -461546070
+ ],
+ [
+ 1183370806
+ ],
+ [
+ -1528210796
+ ],
+ [
+ 1572875079
+ ],
+ [
+ -685546262
+ ],
+ [
+ 741523462
+ ],
+ [
+ -43428353
+ ],
+ [
+ -1907044246
+ ],
+ [
+ -804967673
+ ],
+ [
+ -2121983407
+ ],
+ [
+ 1505935763
+ ],
+ [
+ -1007428482
+ ],
+ [
+ 46680356
+ ],
+ [
+ -1289793950
+ ],
+ [
+ -1016419205
+ ],
+ [
+ -161474292
+ ],
+ [
+ 249858364
+ ],
+ [
+ -2111781360
+ ],
+ [
+ 202936882
+ ],
+ [
+ 1724312878
+ ],
+ [
+ -1175833938
+ ],
+ [
+ 168826242
+ ],
+ [
+ 120420344
+ ],
+ [
+ 628795063
+ ],
+ [
+ -529667776
+ ],
+ [
+ -365555325
+ ],
+ [
+ -229786409
+ ],
+ [
+ -1519580038
+ ],
+ [
+ -834961134
+ ],
+ [
+ 959017838
+ ]
+ ],
+ [
+ [
+ -42629405
+ ],
+ [
+ 2058843517
+ ],
+ [
+ -579663020
+ ],
+ [
+ -1893030620
+ ],
+ [
+ -1390259100
+ ],
+ [
+ -1866342136
+ ],
+ [
+ 1270421757
+ ],
+ [
+ -34256083
+ ],
+ [
+ 1478027116
+ ],
+ [
+ -48366258
+ ],
+ [
+ 1188374324
+ ],
+ [
+ 1892474869
+ ],
+ [
+ 1376622553
+ ],
+ [
+ -1955748771
+ ],
+ [
+ 961968292
+ ],
+ [
+ -251737655
+ ],
+ [
+ 577764966
+ ],
+ [
+ 53433751
+ ],
+ [
+ -194168334
+ ],
+ [
+ -1583906750
+ ],
+ [
+ 248038589
+ ],
+ [
+ -2144792307
+ ],
+ [
+ -355707979
+ ],
+ [
+ -213078438
+ ],
+ [
+ -553670024
+ ],
+ [
+ -224559757
+ ],
+ [
+ 1989036143
+ ],
+ [
+ -1278263605
+ ],
+ [
+ 878153008
+ ],
+ [
+ 1328121494
+ ],
+ [
+ -1348072124
+ ],
+ [
+ 1512188477
+ ]
+ ],
+ [
+ [
+ -1724815755
+ ],
+ [
+ 1020558612
+ ],
+ [
+ 1997927058
+ ],
+ [
+ 94958688
+ ],
+ [
+ 988047733
+ ],
+ [
+ 1314436663
+ ],
+ [
+ -607659787
+ ],
+ [
+ 1507217291
+ ],
+ [
+ 1534795201
+ ],
+ [
+ -1786128226
+ ],
+ [
+ 2065959257
+ ],
+ [
+ 530227185
+ ],
+ [
+ 212794297
+ ],
+ [
+ -870482217
+ ],
+ [
+ -586286531
+ ],
+ [
+ -369968649
+ ],
+ [
+ 1760204204
+ ],
+ [
+ -1807791900
+ ],
+ [
+ -1891214185
+ ],
+ [
+ -1827640037
+ ],
+ [
+ 24707779
+ ],
+ [
+ 6205581
+ ],
+ [
+ -1614739513
+ ],
+ [
+ 1379656428
+ ],
+ [
+ -1482079238
+ ],
+ [
+ 1071830349
+ ],
+ [
+ 1700878205
+ ],
+ [
+ 39059056
+ ],
+ [
+ -2128129821
+ ],
+ [
+ 2040956903
+ ],
+ [
+ 814140508
+ ],
+ [
+ 1614993742
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_10x32x1_i32_outINT16_sc0_dr0_pc0/test.json b/operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_10x32x1_i32_outINT16_sc0_dr0_pc0/test.json
new file mode 100644
index 000000000..16e4c5948
--- /dev/null
+++ b/operators/type_conversion/rescale/rescale_ERRORIF_WrongOutputList_10x32x1_i32_outINT16_sc0_dr0_pc0/test.json
@@ -0,0 +1,65 @@
+{
+ version: {
+ _major: 0,
+ _minor: 30,
+ _patch: 0,
+ _draft: false
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESCALE",
+ attribute_type: "RescaleAttribute",
+ attribute: {
+ input_zp: 0,
+ output_zp: 0,
+ multiplier: [
+ 26641
+ ],
+ shift: [
+ 31
+ ],
+ scale32: false,
+ double_round: false,
+ per_channel: false
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0",
+ "eiDummyOutput"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 32,
+ 1
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10,
+ 32,
+ 1
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}