diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:40 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:40 +0100 |
commit | 617dd99bd43d58af4dabeda02fe1c1fd359365fb (patch) | |
tree | 8e2ef225ffcebffa27a0f7c8fb649c5b11bf7ad2 /operators/ew_binary/logical_right_shift/logical_right_shift_28_i8 | |
parent | bceaa684e5249be84669ca1b1d8260236f0c1a6e (diff) | |
download | conformance_tests-617dd99bd43d58af4dabeda02fe1c1fd359365fb.tar.gz |
Updating LOGICAL_RIGHT_SHIFT tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ibf67ce7a991887bb652f9696e97fade69336d153
Diffstat (limited to 'operators/ew_binary/logical_right_shift/logical_right_shift_28_i8')
5 files changed, 150 insertions, 0 deletions
diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_28_i8/Conformance-result-0.json b/operators/ew_binary/logical_right_shift/logical_right_shift_28_i8/Conformance-result-0.json new file mode 100644 index 000000000..131f7ec1b --- /dev/null +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_28_i8/Conformance-result-0.json @@ -0,0 +1,33 @@ +{ + "type": "int32", + "data": [ + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 0, + 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_right_shift/logical_right_shift_28_i8/desc.json b/operators/ew_binary/logical_right_shift/logical_right_shift_28_i8/desc.json new file mode 100644 index 000000000..be172ba86 --- /dev/null +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_28_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_right_shift/logical_right_shift_28_i8/input-0.json b/operators/ew_binary/logical_right_shift/logical_right_shift_28_i8/input-0.json new file mode 100644 index 000000000..8d96ef5a3 --- /dev/null +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_28_i8/input-0.json @@ -0,0 +1,33 @@ +{ + "type": "int32", + "data": [ + 13, + 99, + -112, + 91, + 83, + -58, + 33, + -86, + 66, + 51, + -38, + -111, + 120, + -14, + 100, + 45, + 71, + 66, + -79, + -35, + -9, + -1, + -117, + 11, + -89, + 62, + 46, + 108 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_28_i8/input-1.json b/operators/ew_binary/logical_right_shift/logical_right_shift_28_i8/input-1.json new file mode 100644 index 000000000..731028c6f --- /dev/null +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_28_i8/input-1.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + 23 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/logical_right_shift/logical_right_shift_28_i8/test.json b/operators/ew_binary/logical_right_shift/logical_right_shift_28_i8/test.json new file mode 100644 index 000000000..ae08be8be --- /dev/null +++ b/operators/ew_binary/logical_right_shift/logical_right_shift_28_i8/test.json @@ -0,0 +1,56 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "LOGICAL_RIGHT_SHIFT", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 28 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 28 + ], + type: "INT8" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |