From f78c64eff040c9b7c3c0d147098ce84cfce1bc8c Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Fri, 17 Jun 2022 13:08:16 +0100 Subject: Updating FULLY_CONNECTED tests for v0.30.0 release Signed-off-by: Jeremy Johnson Change-Id: I820151ce76e4ca102e94c7194c3623a56192d078 --- .../fully_connected_444x1_i8xi4/test.json | 99 ++++++++++++++++++++++ 1 file changed, 99 insertions(+) create mode 100644 operators/tensor/fully_connected/fully_connected_444x1_i8xi4/test.json (limited to 'operators/tensor/fully_connected/fully_connected_444x1_i8xi4/test.json') diff --git a/operators/tensor/fully_connected/fully_connected_444x1_i8xi4/test.json b/operators/tensor/fully_connected/fully_connected_444x1_i8xi4/test.json new file mode 100644 index 000000000..30345e17f --- /dev/null +++ b/operators/tensor/fully_connected/fully_connected_444x1_i8xi4/test.json @@ -0,0 +1,99 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + 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: -106, + weight_zp: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 444, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1 + ], + type: "INT4", + data: [ + 2 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 197, + 26, + 81, + 208 + ] + }, + { + name: "result-0", + shape: [ + 444, + 1 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1