aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x12_i8xi4_acci32
diff options
context:
space:
mode:
Diffstat (limited to 'operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x12_i8xi4_acci32')
-rw-r--r--operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x12_i8xi4_acci32/desc.json22
-rw-r--r--operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x12_i8xi4_acci32/input-0.json173
-rw-r--r--operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x12_i8xi4_acci32/test.json205
3 files changed, 400 insertions, 0 deletions
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x12_i8xi4_acci32/desc.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x12_i8xi4_acci32/desc.json
new file mode 100644
index 000000000..0f8c18b9a
--- /dev/null
+++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x12_i8xi4_acci32/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": "Weight DType not INT8 and zero point not 0",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x12_i8xi4_acci32/input-0.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x12_i8xi4_acci32/input-0.json
new file mode 100644
index 000000000..35253dce8
--- /dev/null
+++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x12_i8xi4_acci32/input-0.json
@@ -0,0 +1,173 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ -4,
+ -84,
+ 59,
+ -48,
+ -111,
+ 62,
+ 103,
+ -125,
+ -17,
+ 83,
+ 52,
+ 91
+ ],
+ [
+ -22,
+ -33,
+ 53,
+ -89,
+ -67,
+ 25,
+ 43,
+ -98,
+ 2,
+ -35,
+ 0,
+ 117
+ ],
+ [
+ -109,
+ 126,
+ -13,
+ 69,
+ -20,
+ -49,
+ 69,
+ 48,
+ -92,
+ 52,
+ 64,
+ -29
+ ],
+ [
+ 108,
+ 36,
+ -43,
+ -126,
+ 44,
+ -75,
+ 65,
+ 6,
+ -9,
+ -87,
+ 54,
+ -86
+ ],
+ [
+ -22,
+ 86,
+ 107,
+ 125,
+ 117,
+ 14,
+ -77,
+ 86,
+ 77,
+ 125,
+ 38,
+ -92
+ ],
+ [
+ 0,
+ -14,
+ 87,
+ -28,
+ -44,
+ -108,
+ 85,
+ 65,
+ -118,
+ -17,
+ -6,
+ -8
+ ],
+ [
+ 107,
+ -90,
+ -50,
+ -82,
+ -66,
+ 104,
+ 112,
+ -117,
+ 33,
+ -69,
+ -79,
+ -54
+ ],
+ [
+ -79,
+ -3,
+ 126,
+ 22,
+ 57,
+ -2,
+ -125,
+ -107,
+ -60,
+ -66,
+ 87,
+ 87
+ ],
+ [
+ 90,
+ 35,
+ 14,
+ 38,
+ -24,
+ 43,
+ 75,
+ 67,
+ 29,
+ -114,
+ 57,
+ -35
+ ],
+ [
+ 62,
+ 10,
+ 97,
+ -42,
+ 110,
+ 88,
+ -44,
+ -5,
+ 8,
+ 68,
+ 48,
+ 90
+ ],
+ [
+ -34,
+ 1,
+ -18,
+ 104,
+ -50,
+ 22,
+ -98,
+ 89,
+ -30,
+ -41,
+ 21,
+ -1
+ ],
+ [
+ 89,
+ 8,
+ 4,
+ -102,
+ -123,
+ -26,
+ 127,
+ 106,
+ 33,
+ 33,
+ -28,
+ -83
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x12_i8xi4_acci32/test.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x12_i8xi4_acci32/test.json
new file mode 100644
index 000000000..6623a201c
--- /dev/null
+++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WeightZeroPointNotZero_12x12_i8xi4_acci32/test.json
@@ -0,0 +1,205 @@
+{
+ 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: 16,
+ weight_zp: -43,
+ accum_dtype: "INT32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 12,
+ 12
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 11,
+ 12
+ ],
+ type: "INT4",
+ data: [
+ 233,
+ 189,
+ 156,
+ 98,
+ 243,
+ 223,
+ 27,
+ 145,
+ 223,
+ 59,
+ 32,
+ 115,
+ 37,
+ 6,
+ 71,
+ 98,
+ 48,
+ 125,
+ 66,
+ 111,
+ 170,
+ 48,
+ 245,
+ 18,
+ 39,
+ 127,
+ 122,
+ 219,
+ 69,
+ 71,
+ 226,
+ 169,
+ 157,
+ 64,
+ 7,
+ 118,
+ 245,
+ 125,
+ 252,
+ 74,
+ 162,
+ 28,
+ 81,
+ 108,
+ 95,
+ 156,
+ 233,
+ 151,
+ 174,
+ 54,
+ 52,
+ 66,
+ 89,
+ 68,
+ 94,
+ 158,
+ 198,
+ 42,
+ 92,
+ 159,
+ 7,
+ 60,
+ 144,
+ 244,
+ 99,
+ 50
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 11
+ ],
+ type: "INT32",
+ data: [
+ 72,
+ 193,
+ 48,
+ 193,
+ 178,
+ 45,
+ 215,
+ 188,
+ 247,
+ 139,
+ 61,
+ 234,
+ 54,
+ 221,
+ 79,
+ 90,
+ 195,
+ 130,
+ 49,
+ 6,
+ 93,
+ 150,
+ 24,
+ 217,
+ 250,
+ 142,
+ 148,
+ 71,
+ 222,
+ 203,
+ 116,
+ 90,
+ 56,
+ 109,
+ 12,
+ 103,
+ 52,
+ 146,
+ 135,
+ 204,
+ 239,
+ 251,
+ 170,
+ 53
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 12,
+ 11
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}