aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32
diff options
context:
space:
mode:
Diffstat (limited to 'operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32')
-rw-r--r--operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32/desc.json22
-rw-r--r--operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32/input-0.json49
-rw-r--r--operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32/test.json125
3 files changed, 196 insertions, 0 deletions
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32/desc.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32/desc.json
new file mode 100644
index 000000000..199bfa93c
--- /dev/null
+++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32/desc.json
@@ -0,0 +1,22 @@
+{
+ "tosa_file": "test.json",
+ "ifm_name": [
+ "input-0"
+ ],
+ "ifm_file": [
+ "input-0.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-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32/input-0.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32/input-0.json
new file mode 100644
index 000000000..93270f40b
--- /dev/null
+++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32/input-0.json
@@ -0,0 +1,49 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 104,
+ 83
+ ],
+ [
+ -35,
+ 106
+ ],
+ [
+ 98,
+ -89
+ ],
+ [
+ 34,
+ 84
+ ],
+ [
+ -96,
+ -121
+ ],
+ [
+ 66,
+ -100
+ ],
+ [
+ -46,
+ -23
+ ],
+ [
+ 92,
+ 43
+ ],
+ [
+ -57,
+ -3
+ ],
+ [
+ -7,
+ -75
+ ],
+ [
+ -12,
+ 33
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32/test.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32/test.json
new file mode 100644
index 000000000..85da79e55
--- /dev/null
+++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32/test.json
@@ -0,0 +1,125 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+
+ ],
+ outputs: [
+ "const-1"
+ ]
+ },
+ {
+ op: "CONST",
+ attribute_type: "NONE",
+ inputs: [
+
+ ],
+ outputs: [
+ "const-2"
+ ]
+ },
+ {
+ op: "FULLY_CONNECTED",
+ attribute_type: "FullyConnectedAttribute",
+ attribute: {
+ input_zp: 31,
+ weight_zp: -3,
+ accum_dtype: "FP32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11,
+ 2
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 5,
+ 2
+ ],
+ type: "INT8",
+ data: [
+ 161,
+ 94,
+ 47,
+ 75,
+ 6,
+ 203,
+ 57,
+ 102,
+ 170,
+ 226
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 5
+ ],
+ type: "INT32",
+ data: [
+ 36,
+ 199,
+ 44,
+ 110,
+ 109,
+ 45,
+ 21,
+ 102,
+ 251,
+ 83,
+ 230,
+ 92,
+ 14,
+ 183,
+ 123,
+ 154,
+ 214,
+ 61,
+ 195,
+ 160
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 11,
+ 5
+ ],
+ type: "FP32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}