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_1_i16 | |
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_1_i16')
5 files changed, 188 insertions, 0 deletions
diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/Conformance-result-0.json b/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/Conformance-result-0.json new file mode 100644 index 000000000..5c091fbde --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/Conformance-result-0.json @@ -0,0 +1,52 @@ +{ + "type": "int32", + "data": [ + 65246, + 0, + 63216, + 0, + 0, + 0, + 0, + 30720, + 0, + 57344, + 48128, + 0, + 30720, + 64956, + 32768, + 0, + 56256, + 49152, + 63216, + 0, + 32768, + 48128, + 46976, + 0, + 0, + 0, + 57344, + 60896, + 0, + 0, + 0, + 64376, + 56832, + 0, + 0, + 57344, + 0, + 0, + 61440, + 0, + 56832, + 46976, + 0, + 0, + 63216, + 0, + 56256 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/desc.json b/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/desc.json new file mode 100644 index 000000000..be172ba86 --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/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_1_i16/input-0.json b/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/input-0.json new file mode 100644 index 000000000..d1bcd51b3 --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/input-0.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + -145 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/input-1.json b/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/input-1.json new file mode 100644 index 000000000..3d09908c5 --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/input-1.json @@ -0,0 +1,52 @@ +{ + "type": "int32", + "data": [ + 1, + 17, + 4, + 23, + 21, + 29, + 23, + 11, + 30, + 13, + 10, + 28, + 11, + 2, + 15, + 25, + 6, + 14, + 4, + 21, + 15, + 10, + 7, + 18, + 21, + 30, + 13, + 5, + 26, + 20, + 22, + 3, + 9, + 24, + 26, + 13, + 25, + 26, + 12, + 28, + 9, + 7, + 21, + 20, + 4, + 26, + 6 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/test.json b/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/test.json new file mode 100644 index 000000000..0a181940b --- /dev/null +++ b/operators/ew_binary/logical_left_shift/logical_left_shift_1_i16/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: [ + 1 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 47 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 47 + ], + type: "INT16" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |