From 9e043f686b52cfabca1a3c67376c410e81c12331 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Thu, 13 Oct 2022 13:59:34 +0100 Subject: Updating FULLY_CONNECTED tests for FP16 and accumulator types Signed-off-by: Jeremy Johnson Change-Id: Ib9321859566a8356e08626b4bcb109a19ec96e14 --- .../test.json | 255 +++++++++++++++++++++ 1 file changed, 255 insertions(+) create mode 100644 operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputList_12x12_i8xi8_acci32/test.json (limited to 'operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputList_12x12_i8xi8_acci32/test.json') diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputList_12x12_i8xi8_acci32/test.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputList_12x12_i8xi8_acci32/test.json new file mode 100644 index 000000000..1fc814d9d --- /dev/null +++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputList_12x12_i8xi8_acci32/test.json @@ -0,0 +1,255 @@ +{ + 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: -85, + weight_zp: -59, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 12, + 12 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 10, + 12 + ], + type: "INT8", + data: [ + 238, + 164, + 239, + 176, + 89, + 220, + 15, + 186, + 85, + 63, + 51, + 88, + 223, + 115, + 37, + 152, + 135, + 65, + 0, + 111, + 150, + 53, + 13, + 146, + 79, + 144, + 168, + 107, + 229, + 84, + 11, + 250, + 179, + 160, + 136, + 135, + 128, + 115, + 193, + 97, + 206, + 2, + 246, + 84, + 89, + 159, + 234, + 97, + 149, + 81, + 211, + 51, + 206, + 8, + 17, + 188, + 38, + 152, + 128, + 43, + 10, + 23, + 191, + 139, + 66, + 201, + 214, + 95, + 106, + 219, + 229, + 121, + 217, + 16, + 162, + 95, + 172, + 208, + 44, + 92, + 18, + 90, + 12, + 249, + 162, + 221, + 155, + 195, + 240, + 112, + 116, + 19, + 235, + 217, + 103, + 222, + 119, + 244, + 156, + 231, + 108, + 227, + 56, + 126, + 152, + 98, + 58, + 40, + 254, + 47, + 163, + 109, + 188, + 167, + 53, + 147, + 209, + 190, + 115, + 192 + ] + }, + { + name: "const-2", + shape: [ + 10 + ], + type: "INT32", + data: [ + 158, + 228, + 249, + 81, + 170, + 186, + 175, + 20, + 73, + 187, + 209, + 13, + 223, + 203, + 211, + 47, + 19, + 92, + 51, + 32, + 202, + 185, + 87, + 194, + 1, + 91, + 64, + 107, + 222, + 211, + 81, + 137, + 44, + 60, + 16, + 210, + 123, + 199, + 224, + 205 + ] + }, + { + name: "result-0", + shape: [ + 12, + 10 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1