diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:38 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:38 +0100 |
commit | 4f0cd453e02cf11dcb8b1dcb004cf4909cb2db1a (patch) | |
tree | c0615247657214838ae0e9e6e08cf59b45945421 /operators/ew_binary/logical_left_shift/logical_left_shift_36_i32 | |
parent | e6f2dc9772476e7be0c139ea01b25688325397c3 (diff) | |
download | conformance_tests-4f0cd453e02cf11dcb8b1dcb004cf4909cb2db1a.tar.gz |
Updating LOGICAL_LEFT_SHIFT tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I65a948370fd39f6af47c84317dd40fa4d3f4f5ce
Diffstat (limited to 'operators/ew_binary/logical_left_shift/logical_left_shift_36_i32')
5 files changed, 166 insertions, 0 deletions
diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/Conformance-result-0.json b/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/Conformance-result-0.json new file mode 100644 index 000000000..f8b6ac2c5 --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/Conformance-result-0.json @@ -0,0 +1,41 @@ +{ + "type": "int32", + "data": [ + 1861367808, + 334698496, + -285112320, + -1627256832, + 799397888, + -1655478272, + -989939712, + 767490048, + -1953830912, + -287524864, + -150427648, + -603408384, + 2068465664, + -936435712, + 1345247232, + 1306753024, + -1093373952, + -1900134400, + 1411330048, + -475600896, + 1160951808, + -837390336, + 875552768, + -1702758400, + 843028480, + -1212641280, + -935970816, + -416100352, + -495765504, + -1157011456, + 2061752320, + 1100650496, + -81440768, + 2103676928, + -1663340544, + 493598720 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/desc.json b/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/desc.json new file mode 100644 index 000000000..be172ba86 --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/desc.json @@ -0,0 +1,22 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0", + "input-1" + ], + "ifm_file": [ + "input-0.npy", + "input-1.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_binary/logical_left_shift/logical_left_shift_36_i32/input-0.json b/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/input-0.json new file mode 100644 index 000000000..338d4d1fd --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/input-0.json @@ -0,0 +1,41 @@ +{ + "type": "int32", + "data": [ + 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 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/input-1.json b/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/input-1.json new file mode 100644 index 000000000..2bc88bfbb --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/input-1.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + 11 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/test.json new file mode 100644 index 000000000..2db4254a3 --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_36_i32/test.json @@ -0,0 +1,56 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "LOGICAL_LEFT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "INT32" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |