diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:07:05 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:07:05 +0100 |
commit | d2f0a9657439fe7ad7c60208a9eacafdcb1af5be (patch) | |
tree | 67fdf1745bbe2b877f670434b8f06dde47864be5 /operators/reduction/reduce_max/reduce_max_22x7_i32_axis0 | |
parent | 7a2e44d339d7dbd83f3d95dc4c5e1d8f3a308cb0 (diff) | |
download | conformance_tests-d2f0a9657439fe7ad7c60208a9eacafdcb1af5be.tar.gz |
Updating REDUCE_MAX tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ifad1bf01c9285e09596729029bd9cba05a6042a1
Diffstat (limited to 'operators/reduction/reduce_max/reduce_max_22x7_i32_axis0')
4 files changed, 289 insertions, 0 deletions
diff --git a/operators/reduction/reduce_max/reduce_max_22x7_i32_axis0/Conformance-result-0.json b/operators/reduction/reduce_max/reduce_max_22x7_i32_axis0/Conformance-result-0.json new file mode 100644 index 000000000..bb6718d5e --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_22x7_i32_axis0/Conformance-result-0.json @@ -0,0 +1,14 @@ +{ + "type": "int32", + "data": [ + [ + 1927830115, + 1975420830, + 2133137846, + 1943520346, + 1928724373, + 1915671647, + 2090066570 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_22x7_i32_axis0/desc.json b/operators/reduction/reduce_max/reduce_max_22x7_i32_axis0/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_22x7_i32_axis0/desc.json @@ -0,0 +1,20 @@ +{ + "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" + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_22x7_i32_axis0/input-0.json b/operators/reduction/reduce_max/reduce_max_22x7_i32_axis0/input-0.json new file mode 100644 index 000000000..909e5b24f --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_22x7_i32_axis0/input-0.json @@ -0,0 +1,203 @@ +{ + "type": "int32", + "data": [ + [ + -283911270, + -517697836, + -1361866290, + 797761594, + -1136250073, + -872408899, + 1257360081 + ], + [ + 1927830115, + 733765792, + 1788201127, + 1521237186, + -81989087, + 1160887471, + -737183012 + ], + [ + -169663870, + 152191263, + 1977802450, + 1497055899, + -46158148, + 655357637, + -1278369102 + ], + [ + 1307352946, + 227796293, + 140541105, + 1143679034, + 570876870, + -1836239912, + -909864709 + ], + [ + -1388481468, + 1008858450, + -1996527694, + -1278162540, + 418523244, + 836651592, + 14194433 + ], + [ + 1549276601, + 1799333972, + -1580106283, + 1943520346, + 491257244, + 585056818, + -1739050520 + ], + [ + 523435734, + 969441241, + 346995262, + -1784588037, + 99761148, + 1872347281, + 959566611 + ], + [ + -1557321083, + 1975420830, + 1970875648, + -1419935399, + 1292287696, + -400646977, + 402361145 + ], + [ + -235423005, + 1213861286, + 2133137846, + 1267508581, + 1852726179, + 1915671647, + -1760483760 + ], + [ + -1059210430, + 952866710, + 386873024, + -1932107482, + -1739250453, + 88250371, + 498927882 + ], + [ + -1427134560, + -1411793099, + -1591971629, + 278960752, + -2113752518, + 311086689, + -103385605 + ], + [ + -146092656, + 769985685, + 97202735, + 978173457, + 1133542328, + 1804391994, + 1285246270 + ], + [ + 76047515, + -33701683, + -1135122965, + 427750574, + -1549901473, + 1852145529, + 1481953807 + ], + [ + -1633231802, + 1228171158, + -1644527663, + 950154952, + -1770776311, + -50708884, + 678017646 + ], + [ + 982735074, + -349574687, + 1810858999, + 1178201510, + -1252993327, + 735433320, + 990138505 + ], + [ + -714520388, + 1023195733, + 1710971292, + 1361995484, + 1127566985, + 577662096, + -985544925 + ], + [ + 1267972909, + -583290843, + 138284290, + -796974217, + -803085555, + -1470546772, + 1981258440 + ], + [ + -1512758897, + -1777004862, + 1873153192, + 236279752, + -266700130, + 1020017583, + -501137546 + ], + [ + -1598064479, + 986492607, + -1391571553, + 227603482, + 1928724373, + 1873206979, + -597932511 + ], + [ + 1203885749, + 483938869, + -88607048, + -1546496966, + -531032018, + 652483193, + 2090066570 + ], + [ + -2126478776, + 935273092, + 1487505513, + 1937866308, + -327260659, + -1638622034, + -983688458 + ], + [ + 1505530688, + 1623218122, + 588727848, + -1620317245, + -1623834027, + -93750057, + 379065223 + ] + ] +}
\ No newline at end of file diff --git a/operators/reduction/reduce_max/reduce_max_22x7_i32_axis0/test.json b/operators/reduction/reduce_max/reduce_max_22x7_i32_axis0/test.json new file mode 100644 index 000000000..c860898a8 --- /dev/null +++ b/operators/reduction/reduce_max/reduce_max_22x7_i32_axis0/test.json @@ -0,0 +1,52 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "REDUCE_MAX", + attribute_type: "AxisAttribute", + attribute: { + axis: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 22, + 7 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 1, + 7 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |