aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/fully_connected/fully_connected_ERRORIF_InputZeroPointNotZero_2x11_f16xf16_accf32
diff options
context:
space:
mode:
Diffstat (limited to 'operators/tensor/fully_connected/fully_connected_ERRORIF_InputZeroPointNotZero_2x11_f16xf16_accf32')
-rw-r--r--operators/tensor/fully_connected/fully_connected_ERRORIF_InputZeroPointNotZero_2x11_f16xf16_accf32/desc.json22
-rw-r--r--operators/tensor/fully_connected/fully_connected_ERRORIF_InputZeroPointNotZero_2x11_f16xf16_accf32/input-0.json31
-rw-r--r--operators/tensor/fully_connected/fully_connected_ERRORIF_InputZeroPointNotZero_2x11_f16xf16_accf32/test.json199
3 files changed, 252 insertions, 0 deletions
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_InputZeroPointNotZero_2x11_f16xf16_accf32/desc.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_InputZeroPointNotZero_2x11_f16xf16_accf32/desc.json
new file mode 100644
index 000000000..b8879370e
--- /dev/null
+++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_InputZeroPointNotZero_2x11_f16xf16_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": "Input 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_InputZeroPointNotZero_2x11_f16xf16_accf32/input-0.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_InputZeroPointNotZero_2x11_f16xf16_accf32/input-0.json
new file mode 100644
index 000000000..342b47b02
--- /dev/null
+++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_InputZeroPointNotZero_2x11_f16xf16_accf32/input-0.json
@@ -0,0 +1,31 @@
+{
+ "type": "float16",
+ "data": [
+ [
+ 0.09912109375,
+ 0.84375,
+ 0.90283203125,
+ 0.9794921875,
+ 0.80224609375,
+ 0.779296875,
+ 0.642578125,
+ 0.77880859375,
+ 0.134521484375,
+ 0.5361328125,
+ 0.51416015625
+ ],
+ [
+ 0.857421875,
+ 0.462890625,
+ 0.385009765625,
+ 0.6396484375,
+ 0.266357421875,
+ 0.1397705078125,
+ 0.477783203125,
+ 0.4169921875,
+ 0.2325439453125,
+ 0.367431640625,
+ 0.366455078125
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_InputZeroPointNotZero_2x11_f16xf16_accf32/test.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_InputZeroPointNotZero_2x11_f16xf16_accf32/test.json
new file mode 100644
index 000000000..0a4a2ecf6
--- /dev/null
+++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_InputZeroPointNotZero_2x11_f16xf16_accf32/test.json
@@ -0,0 +1,199 @@
+{
+ 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: -25,
+ weight_zp: 0,
+ accum_dtype: "FP32"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2,
+ 11
+ ],
+ type: "FP16"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 4,
+ 11
+ ],
+ type: "FP16",
+ data: [
+ 61,
+ 53,
+ 18,
+ 54,
+ 124,
+ 57,
+ 192,
+ 52,
+ 151,
+ 59,
+ 85,
+ 59,
+ 178,
+ 55,
+ 65,
+ 53,
+ 73,
+ 56,
+ 202,
+ 58,
+ 56,
+ 57,
+ 111,
+ 58,
+ 67,
+ 56,
+ 16,
+ 57,
+ 156,
+ 52,
+ 225,
+ 57,
+ 122,
+ 50,
+ 143,
+ 57,
+ 227,
+ 58,
+ 58,
+ 48,
+ 234,
+ 56,
+ 22,
+ 46,
+ 206,
+ 57,
+ 104,
+ 45,
+ 125,
+ 59,
+ 102,
+ 48,
+ 172,
+ 59,
+ 104,
+ 58,
+ 192,
+ 56,
+ 67,
+ 58,
+ 92,
+ 58,
+ 145,
+ 59,
+ 14,
+ 52,
+ 184,
+ 56,
+ 21,
+ 46,
+ 238,
+ 56,
+ 123,
+ 49,
+ 133,
+ 56,
+ 148,
+ 56,
+ 117,
+ 55,
+ 46,
+ 56,
+ 29,
+ 58,
+ 101,
+ 58,
+ 224,
+ 55
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 4
+ ],
+ type: "FP32",
+ data: [
+ 245,
+ 126,
+ 25,
+ 63,
+ 127,
+ 101,
+ 110,
+ 63,
+ 226,
+ 54,
+ 245,
+ 61,
+ 255,
+ 211,
+ 239,
+ 61
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 4
+ ],
+ type: "FP32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}