diff options
Diffstat (limited to 'operators/ew_binary/mul/mul_20_i8_perm0_shift0')
5 files changed, 137 insertions, 0 deletions
diff --git a/operators/ew_binary/mul/mul_20_i8_perm0_shift0/Conformance-result-0.json b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/Conformance-result-0.json new file mode 100644 index 000000000..6a0ae7c11 --- /dev/null +++ b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/Conformance-result-0.json @@ -0,0 +1,25 @@ +{ + "type": "int32", + "data": [ + -860, + -8170, + 4042, + -602, + -3784, + -6106, + 1290, + 3612, + 9546, + -1462, + -7568, + 7224, + 2752, + 4300, + -8944, + -4214, + 5762, + 7224, + -1548, + 6622 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/mul/mul_20_i8_perm0_shift0/desc.json b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/desc.json new file mode 100644 index 000000000..be172ba86 --- /dev/null +++ b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/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_20_i8_perm0_shift0/input-0.json b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/input-0.json new file mode 100644 index 000000000..2ef5bb0a5 --- /dev/null +++ b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/input-0.json @@ -0,0 +1,25 @@ +{ + "type": "int32", + "data": [ + -10, + -95, + 47, + -7, + -44, + -71, + 15, + 42, + 111, + -17, + -88, + 84, + 32, + 50, + -104, + -49, + 67, + 84, + -18, + 77 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/mul/mul_20_i8_perm0_shift0/input-1.json b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/input-1.json new file mode 100644 index 000000000..b0b2fc8de --- /dev/null +++ b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/input-1.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + 86 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/mul/mul_20_i8_perm0_shift0/test.json b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/test.json new file mode 100644 index 000000000..e9e926a98 --- /dev/null +++ b/operators/ew_binary/mul/mul_20_i8_perm0_shift0/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: 0 + }, + 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: "INT32" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |