diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:44 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:44 +0100 |
commit | 79f9874824b35262af8939dad547e2aab4436812 (patch) | |
tree | 5729994f99466e39e2ba79cc5839a3caac0b017a /operators/ew_binary/mul/mul_36_i32_perm4_shift16 | |
parent | 2fa774b4c58ffe51b052b97aa3a76e9915ba2682 (diff) | |
download | conformance_tests-79f9874824b35262af8939dad547e2aab4436812.tar.gz |
Updating MUL tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I04e942d9017bb45e04c8fe343f652fb7b6b21dd3
Diffstat (limited to 'operators/ew_binary/mul/mul_36_i32_perm4_shift16')
5 files changed, 169 insertions, 0 deletions
diff --git a/operators/ew_binary/mul/mul_36_i32_perm4_shift16/Conformance-result-0.json b/operators/ew_binary/mul/mul_36_i32_perm4_shift16/Conformance-result-0.json new file mode 100644 index 000000000..bd75fdc66 --- /dev/null +++ b/operators/ew_binary/mul/mul_36_i32_perm4_shift16/Conformance-result-0.json @@ -0,0 +1,41 @@ +{ + "type": "int32", + "data": [ + -386754988, + 408079327, + -227850967, + -238395626, + 532135131, + -447627194, + 521960346, + 529129318, + 123882293, + -420402407, + -432557968, + -270591270, + 97305852, + -435382853, + -55734805, + -483301164, + 50634189, + -601882284, + 262743310, + -558835787, + -383586825, + -408952130, + 416035544, + -561366542, + -88915481, + 114561131, + 20105187, + 227145007, + 380976357, + -133698818, + 412546055, + -228772017, + 608884187, + 5689103, + 296651596, + 471353951 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/mul/mul_36_i32_perm4_shift16/desc.json b/operators/ew_binary/mul/mul_36_i32_perm4_shift16/desc.json new file mode 100644 index 000000000..be172ba86 --- /dev/null +++ b/operators/ew_binary/mul/mul_36_i32_perm4_shift16/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/mul/mul_36_i32_perm4_shift16/input-0.json b/operators/ew_binary/mul/mul_36_i32_perm4_shift16/input-0.json new file mode 100644 index 000000000..524d202ff --- /dev/null +++ b/operators/ew_binary/mul/mul_36_i32_perm4_shift16/input-0.json @@ -0,0 +1,41 @@ +{ + "type": "int32", + "data": [ + -5162328, + 5446961, + -3041309, + -3182057, + 7102833, + -5974838, + 6967022, + 7062712, + 1653556, + -5611447, + -5773697, + -3611798, + 1298819, + -5811403, + -743937, + -6451007, + 675855, + -8033804, + 3507045, + -7459228, + -5120040, + -5458611, + 5553159, + -7493008, + -1186826, + 1529139, + 268360, + 3031886, + 5085196, + -1784585, + 5506582, + -3053603, + 8127264, + 75937, + 3959646, + 6291538 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/mul/mul_36_i32_perm4_shift16/input-1.json b/operators/ew_binary/mul/mul_36_i32_perm4_shift16/input-1.json new file mode 100644 index 000000000..c5be9a096 --- /dev/null +++ b/operators/ew_binary/mul/mul_36_i32_perm4_shift16/input-1.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + 4909873 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/mul/mul_36_i32_perm4_shift16/test.json b/operators/ew_binary/mul/mul_36_i32_perm4_shift16/test.json new file mode 100644 index 000000000..d1507d80c --- /dev/null +++ b/operators/ew_binary/mul/mul_36_i32_perm4_shift16/test.json @@ -0,0 +1,59 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "MUL", + attribute_type: "MulAttribute", + attribute: { + shift: 16 + }, + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 36 + ], + type: "INT32" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT32" + }, + { + name: "result-0", + shape: [ + 36 + ], + type: "INT32" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |