diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:33 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:33 +0100 |
commit | 26c9e26c22c744dd05a2fe09763ac09bc09711db (patch) | |
tree | 7db671394c011a97e79b729453a985b4295ae763 /operators/ew_binary/bitwise_and/bitwise_and_6_i8 | |
parent | 7a972150d7bfd82a775fd1db6b70a8644e285836 (diff) | |
download | conformance_tests-26c9e26c22c744dd05a2fe09763ac09bc09711db.tar.gz |
Updating BITWISE_AND tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ieab852fd94e19ba936c276d6007835ea84ae3671
Diffstat (limited to 'operators/ew_binary/bitwise_and/bitwise_and_6_i8')
5 files changed, 106 insertions, 0 deletions
diff --git a/operators/ew_binary/bitwise_and/bitwise_and_6_i8/Conformance-result-0.json b/operators/ew_binary/bitwise_and/bitwise_and_6_i8/Conformance-result-0.json new file mode 100644 index 000000000..47310baf5 --- /dev/null +++ b/operators/ew_binary/bitwise_and/bitwise_and_6_i8/Conformance-result-0.json @@ -0,0 +1,11 @@ +{ + "type": "int32", + "data": [ + 1, + 33, + 0, + 1, + 1, + 0 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/bitwise_and/bitwise_and_6_i8/desc.json b/operators/ew_binary/bitwise_and/bitwise_and_6_i8/desc.json new file mode 100644 index 000000000..be172ba86 --- /dev/null +++ b/operators/ew_binary/bitwise_and/bitwise_and_6_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/bitwise_and/bitwise_and_6_i8/input-0.json b/operators/ew_binary/bitwise_and/bitwise_and_6_i8/input-0.json new file mode 100644 index 000000000..2bcf06a42 --- /dev/null +++ b/operators/ew_binary/bitwise_and/bitwise_and_6_i8/input-0.json @@ -0,0 +1,11 @@ +{ + "type": "int32", + "data": [ + 13, + 99, + -112, + 91, + 83, + -58 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/bitwise_and/bitwise_and_6_i8/input-1.json b/operators/ew_binary/bitwise_and/bitwise_and_6_i8/input-1.json new file mode 100644 index 000000000..b6b28a2d6 --- /dev/null +++ b/operators/ew_binary/bitwise_and/bitwise_and_6_i8/input-1.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + 33 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/bitwise_and/bitwise_and_6_i8/test.json b/operators/ew_binary/bitwise_and/bitwise_and_6_i8/test.json new file mode 100644 index 000000000..d2e1342ff --- /dev/null +++ b/operators/ew_binary/bitwise_and/bitwise_and_6_i8/test.json @@ -0,0 +1,56 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "BITWISE_AND", + attribute_type: "NONE", + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6 + ], + type: "INT8" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 6 + ], + type: "INT8" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |