diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:32 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:32 +0100 |
commit | 7a972150d7bfd82a775fd1db6b70a8644e285836 (patch) | |
tree | 6db4df3ea036cb17a0ad9410ad632e9bb5e192b7 /operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse | |
parent | 14a8c70ad3e31e45ced57b363202ccd5342f291a (diff) | |
download | conformance_tests-7a972150d7bfd82a775fd1db6b70a8644e285836.tar.gz |
Updating ARITHMETIC_RIGHT_SHIFT tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I04d4bb6669b1967fef686cf67549bb08344c2570
Diffstat (limited to 'operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse')
5 files changed, 137 insertions, 0 deletions
diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/Conformance-result-0.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/Conformance-result-0.json new file mode 100644 index 000000000..21bc88a00 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/Conformance-result-0.json @@ -0,0 +1,25 @@ +{ + "type": "int32", + "data": [ + -1, + -4, + 0, + -3, + 1, + 1, + 3, + 1, + -2, + 3, + -1, + -2, + 3, + -2, + -4, + -1, + 2, + -3, + -1, + -3 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/desc.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/desc.json new file mode 100644 index 000000000..be172ba86 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/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/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/input-0.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/input-0.json new file mode 100644 index 000000000..c7fc48871 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/input-0.json @@ -0,0 +1,25 @@ +{ + "type": "int32", + "data": [ + -1, + -117, + 11, + -89, + 62, + 46, + 108, + 62, + -35, + 119, + -23, + -45, + 103, + -34, + -109, + -8, + 75, + -80, + -10, + -95 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/input-1.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/input-1.json new file mode 100644 index 000000000..c5f6b76d0 --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/input-1.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + 5 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/test.json b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/test.json new file mode 100644 index 000000000..fa545e21d --- /dev/null +++ b/operators/ew_binary/arithmetic_right_shift/arithmetic_right_shift_20_i8_roundFalse/test.json @@ -0,0 +1,59 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "ARITHMETIC_RIGHT_SHIFT", + attribute_type: "ArithmeticRightShiftAttribute", + attribute: { + round: false + }, + 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" + ] + } + ] +} |