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_20_i8 | |
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_20_i8')
5 files changed, 134 insertions, 0 deletions
diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/Conformance-result-0.json b/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/Conformance-result-0.json new file mode 100644 index 000000000..1bb115c9b --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/Conformance-result-0.json @@ -0,0 +1,25 @@ +{ + "type": "int32", + "data": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/desc.json b/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/desc.json new file mode 100644 index 000000000..be172ba86 --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/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_20_i8/input-0.json b/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/input-0.json new file mode 100644 index 000000000..bccdaa1e9 --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/input-0.json @@ -0,0 +1,25 @@ +{ + "type": "int32", + "data": [ + 13, + 99, + -112, + 91, + 83, + -58, + 33, + -86, + 66, + 51, + -38, + -111, + 120, + -14, + 100, + 45, + 71, + 66, + -79, + -35 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/input-1.json b/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/input-1.json new file mode 100644 index 000000000..bed31a8a1 --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/input-1.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + 14 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/test.json new file mode 100644 index 000000000..3d10f88ff --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_20_i8/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: [ + 20 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 20 + ], + type: "INT8" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |