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 | 199 +++++++++++++++++++++ 1 file changed, 199 insertions(+) create mode 100644 operators/tensor/fully_connected/fully_connected_ERRORIF_InputZeroPointNotZero_2x11_f16xf16_accf32/test.json (limited to 'operators/tensor/fully_connected/fully_connected_ERRORIF_InputZeroPointNotZero_2x11_f16xf16_accf32/test.json') 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" + ] + } + ] +} -- cgit v1.2.1