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_perm2_shift6 | |
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_perm2_shift6')
5 files changed, 169 insertions, 0 deletions
diff --git a/operators/ew_binary/mul/mul_36_i32_perm2_shift6/Conformance-result-0.json b/operators/ew_binary/mul/mul_36_i32_perm2_shift6/Conformance-result-0.json new file mode 100644 index 000000000..9bda426e9 --- /dev/null +++ b/operators/ew_binary/mul/mul_36_i32_perm2_shift6/Conformance-result-0.json @@ -0,0 +1,41 @@ +{ + "type": "int32", + "data": [ + -540413331, + 567328599, + -331017507, + -345247618, + 167890223, + 332311639, + 692058867, + -611083587, + -626359676, + 362375516, + 654841244, + 527749520, + 604853078, + -463213713, + -548268843, + 485043178, + -345178242, + 448692757, + 185770585, + -139032423, + -307667104, + -523997872, + 636830135, + 424677944, + 307061398, + 265353005, + -696723077, + -388079370, + 251232295, + -660065800, + 971266, + -1035305, + 92753211, + 498176612, + -607670815, + 679987421 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/mul/mul_36_i32_perm2_shift6/desc.json b/operators/ew_binary/mul/mul_36_i32_perm2_shift6/desc.json new file mode 100644 index 000000000..be172ba86 --- /dev/null +++ b/operators/ew_binary/mul/mul_36_i32_perm2_shift6/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_perm2_shift6/input-0.json b/operators/ew_binary/mul/mul_36_i32_perm2_shift6/input-0.json new file mode 100644 index 000000000..dbbcf7e39 --- /dev/null +++ b/operators/ew_binary/mul/mul_36_i32_perm2_shift6/input-0.json @@ -0,0 +1,41 @@ +{ + "type": "int32", + "data": [ + 202530, + -212617, + 124055, + 129388, + -62920, + -124540, + -259362, + 229015, + 234740, + -135807, + -245414, + -197784, + -226680, + 173598, + 205474, + -181779, + 129362, + -168156, + -69621, + 52105, + 115304, + 196378, + -238664, + -159156, + -115077, + -99446, + 261110, + 145440, + -94154, + 247372, + -364, + 388, + -34761, + -186701, + 227736, + -254838 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/mul/mul_36_i32_perm2_shift6/input-1.json b/operators/ew_binary/mul/mul_36_i32_perm2_shift6/input-1.json new file mode 100644 index 000000000..98741352c --- /dev/null +++ b/operators/ew_binary/mul/mul_36_i32_perm2_shift6/input-1.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + -170772 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/mul/mul_36_i32_perm2_shift6/test.json b/operators/ew_binary/mul/mul_36_i32_perm2_shift6/test.json new file mode 100644 index 000000000..7509659e8 --- /dev/null +++ b/operators/ew_binary/mul/mul_36_i32_perm2_shift6/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: 6 + }, + 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" + ] + } + ] +} |