aboutsummaryrefslogtreecommitdiff
path: root/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_13x13_i8xi8_accf16
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-11-16 14:39:55 +0000
committerJeremy Johnson <jeremy.johnson@arm.com>2022-11-16 14:46:02 +0000
commit874bb4fe493b2958a21e9a84c22828e82d4ff167 (patch)
tree4e4a0e31a9ba5c912373ba3a0419c8c84b03688e /operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_13x13_i8xi8_accf16
parent7596fd972b49fecfd1c0cc0a425a5d8c64e9c33c (diff)
downloadconformance_tests-874bb4fe493b2958a21e9a84c22828e82d4ff167.tar.gz
Updating conformance files for BF16 support
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: Iabe3a47a30eaea83f29b160ae2227e57ec22e96d
Diffstat (limited to 'operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_13x13_i8xi8_accf16')
-rw-r--r--operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_13x13_i8xi8_accf16/desc.json22
-rw-r--r--operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_13x13_i8xi8_accf16/input-0.json200
-rw-r--r--operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_13x13_i8xi8_accf16/test.json197
3 files changed, 419 insertions, 0 deletions
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_13x13_i8xi8_accf16/desc.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_13x13_i8xi8_accf16/desc.json
new file mode 100644
index 000000000..199bfa93c
--- /dev/null
+++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_13x13_i8xi8_accf16/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_13x13_i8xi8_accf16/input-0.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_13x13_i8xi8_accf16/input-0.json
new file mode 100644
index 000000000..f8dbcedf7
--- /dev/null
+++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_13x13_i8xi8_accf16/input-0.json
@@ -0,0 +1,200 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 77,
+ 124,
+ -109,
+ -63,
+ -88,
+ 60,
+ -17,
+ -126,
+ -5,
+ 11,
+ -76,
+ -47,
+ -52
+ ],
+ [
+ 7,
+ -88,
+ -8,
+ 10,
+ 7,
+ -6,
+ 59,
+ 48,
+ -5,
+ 33,
+ -105,
+ -59,
+ -70
+ ],
+ [
+ 66,
+ -23,
+ -90,
+ 24,
+ 33,
+ 91,
+ 30,
+ 109,
+ -68,
+ -4,
+ -78,
+ -20,
+ -101
+ ],
+ [
+ -34,
+ 30,
+ -47,
+ -35,
+ 21,
+ 127,
+ -79,
+ 34,
+ 114,
+ -126,
+ -28,
+ -33,
+ 120
+ ],
+ [
+ -125,
+ 122,
+ 32,
+ -121,
+ 106,
+ 71,
+ 62,
+ -54,
+ -61,
+ 76,
+ -83,
+ -12,
+ 96
+ ],
+ [
+ 117,
+ -98,
+ 66,
+ 53,
+ 90,
+ -66,
+ 77,
+ -51,
+ -23,
+ -117,
+ 45,
+ -85,
+ -28
+ ],
+ [
+ -118,
+ 11,
+ 5,
+ 43,
+ -13,
+ 68,
+ 8,
+ -94,
+ -112,
+ -80,
+ 78,
+ -23,
+ -97
+ ],
+ [
+ -27,
+ 84,
+ 77,
+ -46,
+ -57,
+ -15,
+ -52,
+ 39,
+ 44,
+ 26,
+ 90,
+ 16,
+ 44
+ ],
+ [
+ -26,
+ -69,
+ -6,
+ 35,
+ -112,
+ -8,
+ -87,
+ -64,
+ 59,
+ -42,
+ 44,
+ 7,
+ -42
+ ],
+ [
+ -7,
+ 74,
+ 14,
+ 78,
+ -52,
+ 7,
+ -49,
+ 122,
+ 97,
+ -60,
+ -79,
+ -53,
+ -113
+ ],
+ [
+ -126,
+ -121,
+ -90,
+ 47,
+ 81,
+ -115,
+ 33,
+ 20,
+ -80,
+ 39,
+ 45,
+ 116,
+ -87
+ ],
+ [
+ -119,
+ -24,
+ 51,
+ 127,
+ 28,
+ -48,
+ -70,
+ 45,
+ 51,
+ -127,
+ 105,
+ -52,
+ 12
+ ],
+ [
+ -50,
+ -47,
+ 86,
+ 0,
+ -85,
+ -42,
+ -46,
+ 65,
+ -87,
+ -28,
+ -7,
+ -101,
+ -59
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_13x13_i8xi8_accf16/test.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_13x13_i8xi8_accf16/test.json
new file mode 100644
index 000000000..058fe6b9a
--- /dev/null
+++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_13x13_i8xi8_accf16/test.json
@@ -0,0 +1,197 @@
+{
+ 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: 28,
+ weight_zp: 85,
+ accum_dtype: "FP16"
+ },
+ inputs: [
+ "input-0",
+ "const-1",
+ "const-2"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 13,
+ 13
+ ],
+ type: "INT8"
+ },
+ {
+ name: "const-1",
+ shape: [
+ 6,
+ 13
+ ],
+ type: "INT8",
+ data: [
+ 14,
+ 173,
+ 19,
+ 238,
+ 93,
+ 249,
+ 253,
+ 207,
+ 142,
+ 119,
+ 198,
+ 165,
+ 150,
+ 54,
+ 227,
+ 6,
+ 155,
+ 226,
+ 209,
+ 44,
+ 53,
+ 167,
+ 92,
+ 110,
+ 150,
+ 85,
+ 77,
+ 62,
+ 127,
+ 117,
+ 223,
+ 112,
+ 171,
+ 179,
+ 60,
+ 98,
+ 179,
+ 74,
+ 72,
+ 239,
+ 95,
+ 8,
+ 12,
+ 15,
+ 23,
+ 4,
+ 104,
+ 236,
+ 195,
+ 31,
+ 250,
+ 82,
+ 93,
+ 116,
+ 90,
+ 42,
+ 246,
+ 114,
+ 228,
+ 118,
+ 121,
+ 38,
+ 122,
+ 200,
+ 143,
+ 4,
+ 211,
+ 103,
+ 43,
+ 160,
+ 28,
+ 62,
+ 227,
+ 114,
+ 59,
+ 55,
+ 210,
+ 114
+ ]
+ },
+ {
+ name: "const-2",
+ shape: [
+ 6
+ ],
+ type: "INT32",
+ data: [
+ 201,
+ 26,
+ 70,
+ 44,
+ 137,
+ 186,
+ 231,
+ 56,
+ 232,
+ 202,
+ 247,
+ 77,
+ 118,
+ 208,
+ 130,
+ 124,
+ 97,
+ 110,
+ 95,
+ 48,
+ 47,
+ 183,
+ 0,
+ 118
+ ]
+ },
+ {
+ name: "result-0",
+ shape: [
+ 13,
+ 6
+ ],
+ type: "FP16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}