From f28351d57bbe212bc75ed18375b4f421937e113e Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Tue, 18 Oct 2022 15:07:37 +0100 Subject: Updating test files for FLOAT/FP32 name change Plus re-instate accidentally removed operator READMEs. Signed-off-by: Jeremy Johnson Change-Id: I534e5be23cb524c886208107e1bfe22ac6e8f160 --- .../test.json | 125 +++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32/test.json (limited to 'operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32/test.json') diff --git a/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32/test.json b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32/test.json new file mode 100644 index 000000000..85da79e55 --- /dev/null +++ b/operators/tensor/fully_connected/fully_connected_ERRORIF_WrongOutputType_11x2_i8xi8_accf32/test.json @@ -0,0 +1,125 @@ +{ + 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: 31, + weight_zp: -3, + accum_dtype: "FP32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 11, + 2 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 5, + 2 + ], + type: "INT8", + data: [ + 161, + 94, + 47, + 75, + 6, + 203, + 57, + 102, + 170, + 226 + ] + }, + { + name: "const-2", + shape: [ + 5 + ], + type: "INT32", + data: [ + 36, + 199, + 44, + 110, + 109, + 45, + 21, + 102, + 251, + 83, + 230, + 92, + 14, + 183, + 123, + 154, + 214, + 61, + 195, + 160 + ] + }, + { + name: "result-0", + shape: [ + 11, + 5 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1