From ab4bb694c6df1a837be89d0271fb21377a086658 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Thu, 13 Oct 2022 13:54:26 +0100 Subject: Updating CONV2D_1X1 tests for FP16 and accumulator types Signed-off-by: Jeremy Johnson Change-Id: Id1fb1687ffc4de1b92336ffbf65087c0d1ebf905 --- .../test.json | 262 +++++++++++++++++++++ 1 file changed, 262 insertions(+) create mode 100644 operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/test.json (limited to 'operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/test.json') diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/test.json new file mode 100644 index 000000000..dff8134dd --- /dev/null +++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_WrongOutputList_1x12x6x15_i16xi8_acci48_st11_pad0000_dilat11/test.json @@ -0,0 +1,262 @@ +{ + 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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 0, + weight_zp: -20, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 12, + 6, + 15 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 7, + 1, + 1, + 15 + ], + type: "INT8", + data: [ + 35, + 201, + 117, + 53, + 237, + 162, + 121, + 65, + 42, + 85, + 27, + 187, + 188, + 148, + 144, + 58, + 90, + 169, + 18, + 159, + 234, + 74, + 79, + 114, + 207, + 114, + 72, + 214, + 211, + 155, + 107, + 180, + 196, + 233, + 163, + 78, + 50, + 168, + 169, + 133, + 115, + 239, + 39, + 166, + 187, + 10, + 181, + 28, + 108, + 206, + 27, + 106, + 100, + 129, + 156, + 124, + 108, + 210, + 5, + 18, + 43, + 64, + 223, + 99, + 143, + 136, + 117, + 173, + 126, + 201, + 221, + 135, + 113, + 219, + 170, + 251, + 167, + 74, + 146, + 255, + 228, + 137, + 141, + 4, + 229, + 161, + 163, + 78, + 59, + 27, + 85, + 145, + 48, + 64, + 179, + 9, + 68, + 26, + 191, + 42, + 66, + 130, + 17, + 1, + 221 + ] + }, + { + name: "const-2", + shape: [ + 7 + ], + type: "INT48", + data: [ + 83, + 11, + 169, + 193, + 95, + 149, + 10, + 192, + 201, + 169, + 215, + 83, + 84, + 107, + 4, + 24, + 141, + 112, + 123, + 237, + 110, + 150, + 121, + 42, + 183, + 148, + 52, + 50, + 236, + 118, + 27, + 156, + 11, + 237, + 33, + 111, + 158, + 250, + 44, + 219, + 209, + 177 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 6, + 7 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1