diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:53 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:53 +0100 |
commit | 241fe57970e126f59336a5aadf7380a158621182 (patch) | |
tree | d378b9c788adbcf4c491fd7898a9963c4f987bf9 /operators/ew_unary/negate/negate_49_i32 | |
parent | 0eeab397805ba40bf3b1404bbf14cec6cfdc393c (diff) | |
download | conformance_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_49_i32')
4 files changed, 179 insertions, 0 deletions
diff --git a/operators/ew_unary/negate/negate_49_i32/Conformance-result-0.json b/operators/ew_unary/negate/negate_49_i32/Conformance-result-0.json new file mode 100644 index 000000000..c0c5b6694 --- /dev/null +++ b/operators/ew_unary/negate/negate_49_i32/Conformance-result-0.json @@ -0,0 +1,54 @@ +{ + "type": "int32", + "data": [ + 1547251302, + -1429093445, + 1288884457, + -1309531719, + 2115862941, + -1274929201, + -1232330817, + -1204155579, + -708029037, + 122118185, + -881178591, + 957255331, + -1205722007, + -239001877, + 176455401, + -24078665, + -295241188, + 1987443237, + 1547060113, + 1093150066, + 1655580728, + 259357722, + -723285213, + -663266903, + 124140850, + -1525057020, + -280186943, + 1807333389, + -1138161426, + -320407239, + -578610778, + -280776295, + -230121773, + 1758503813, + -254292819, + -1266640042, + 842027918, + -441686894, + 2015122057, + 654985940, + 271796744, + -2073345614, + 1225849497, + 959717610, + 392866484, + -2115982721, + -1517854641, + 1998478499, + 1142721207 + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/negate/negate_49_i32/desc.json b/operators/ew_unary/negate/negate_49_i32/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/ew_unary/negate/negate_49_i32/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/ew_unary/negate/negate_49_i32/input-0.json b/operators/ew_unary/negate/negate_49_i32/input-0.json new file mode 100644 index 000000000..64c1cae34 --- /dev/null +++ b/operators/ew_unary/negate/negate_49_i32/input-0.json @@ -0,0 +1,54 @@ +{ + "type": "int32", + "data": [ + -1547251302, + 1429093445, + -1288884457, + 1309531719, + -2115862941, + 1274929201, + 1232330817, + 1204155579, + 708029037, + -122118185, + 881178591, + -957255331, + 1205722007, + 239001877, + -176455401, + 24078665, + 295241188, + -1987443237, + -1547060113, + -1093150066, + -1655580728, + -259357722, + 723285213, + 663266903, + -124140850, + 1525057020, + 280186943, + -1807333389, + 1138161426, + 320407239, + 578610778, + 280776295, + 230121773, + -1758503813, + 254292819, + 1266640042, + -842027918, + 441686894, + -2015122057, + -654985940, + -271796744, + 2073345614, + -1225849497, + -959717610, + -392866484, + 2115982721, + 1517854641, + -1998478499, + -1142721207 + ] +}
\ No newline at end of file diff --git a/operators/ew_unary/negate/negate_49_i32/test.json b/operators/ew_unary/negate/negate_49_i32/test.json new file mode 100644 index 000000000..220596ed4 --- /dev/null +++ b/operators/ew_unary/negate/negate_49_i32/test.json @@ -0,0 +1,51 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "NEGATE", + attribute_type: "NegateAttribute", + attribute: { + input1_zp: 0, + output_zp: 0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 49 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 49 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |