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_ERRORIF_WrongOutputType_11_i16_perm0_shift0 | |
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_ERRORIF_WrongOutputType_11_i16_perm0_shift0')
4 files changed, 101 insertions, 0 deletions
diff --git a/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_11_i16_perm0_shift0/desc.json b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_11_i16_perm0_shift0/desc.json new file mode 100644 index 000000000..e91fa79e6 --- /dev/null +++ b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_11_i16_perm0_shift0/desc.json @@ -0,0 +1,20 @@ +{ + "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": 2, + "expected_failure": true, + "expected_failure_desc": "Output data type not supported for this configuration of operator" +}
\ No newline at end of file diff --git a/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_11_i16_perm0_shift0/input-0.json b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_11_i16_perm0_shift0/input-0.json new file mode 100644 index 000000000..98a444748 --- /dev/null +++ b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_11_i16_perm0_shift0/input-0.json @@ -0,0 +1,16 @@ +{ + "type": "int32", + "data": [ + 16362, + -15929, + -30775, + -25568, + -31400, + 21848, + 14177, + -2166, + 20232, + -30273, + 22319 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_11_i16_perm0_shift0/input-1.json b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_11_i16_perm0_shift0/input-1.json new file mode 100644 index 000000000..aaf4617df --- /dev/null +++ b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_11_i16_perm0_shift0/input-1.json @@ -0,0 +1,6 @@ +{ + "type": "int32", + "data": [ + 11230 + ] +}
\ No newline at end of file diff --git a/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_11_i16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_11_i16_perm0_shift0/test.json new file mode 100644 index 000000000..be82ce5d1 --- /dev/null +++ b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_11_i16_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: [ + 11 + ], + type: "INT16" + }, + { + name: "input-1", + shape: [ + 1 + ], + type: "INT16" + }, + { + name: "result-0", + shape: [ + 11 + ], + type: "INT8" + } + ], + inputs: [ + "input-0", + "input-1" + ], + outputs: [ + "result-0" + ] + } + ] +} |