aboutsummaryrefslogtreecommitdiff
path: root/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0
diff options
context:
space:
mode:
Diffstat (limited to 'operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0')
-rw-r--r--operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/desc.json23
-rw-r--r--operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/input-0.json27
-rw-r--r--operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/input-1.json22
-rw-r--r--operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/test.json65
4 files changed, 137 insertions, 0 deletions
diff --git a/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/desc.json b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/desc.json
new file mode 100644
index 000000000..4517bc2ab
--- /dev/null
+++ b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/desc.json
@@ -0,0 +1,23 @@
+{
+ "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",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/input-0.json b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/input-0.json
new file mode 100644
index 000000000..2cac6885f
--- /dev/null
+++ b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/input-0.json
@@ -0,0 +1,27 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ [
+ 0.0027008056640625,
+ 0.296875
+ ],
+ [
+ 0.5546875,
+ 0.333984375
+ ],
+ [
+ 0.271484375,
+ 0.458984375
+ ],
+ [
+ 0.1806640625,
+ 0.52734375
+ ],
+ [
+ 0.703125,
+ 0.57421875
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/input-1.json b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/input-1.json
new file mode 100644
index 000000000..a71847be3
--- /dev/null
+++ b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/input-1.json
@@ -0,0 +1,22 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ [
+ 0.0927734375
+ ],
+ [
+ 0.84375
+ ],
+ [
+ 0.1748046875
+ ],
+ [
+ 0.76171875
+ ],
+ [
+ 0.359375
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/test.json b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/test.json
new file mode 100644
index 000000000..efb1cbafe
--- /dev/null
+++ b/operators/ew_binary/mul/mul_ERRORIF_WrongOutputType_1x5x2_bf16_perm0_shift0/test.json
@@ -0,0 +1,65 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ 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: [
+ 1,
+ 5,
+ 2
+ ],
+ type: "BF16"
+ },
+ {
+ name: "input-1",
+ shape: [
+ 1,
+ 5,
+ 1
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 1,
+ 5,
+ 2
+ ],
+ type: "INT48"
+ }
+ ],
+ inputs: [
+ "input-0",
+ "input-1"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}