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 | 235 +++++++++++++++++++++ 1 file changed, 235 insertions(+) create mode 100644 operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i16xi8_acci48_st22_pad1001_dilat12/test.json (limited to 'operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i16xi8_acci48_st22_pad1001_dilat12/test.json') diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i16xi8_acci48_st22_pad1001_dilat12/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i16xi8_acci48_st22_pad1001_dilat12/test.json new file mode 100644 index 000000000..97e250be4 --- /dev/null +++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeNonInteger_1x11x7x4_i16xi8_acci48_st22_pad1001_dilat12/test.json @@ -0,0 +1,235 @@ +{ + 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: [ + 1, + 0, + 0, + 1 + ], + stride: [ + 2, + 2 + ], + dilation: [ + 1, + 2 + ], + input_zp: 0, + weight_zp: -44, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 7, + 4 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 12, + 1, + 1, + 4 + ], + type: "INT8", + data: [ + 146, + 42, + 126, + 46, + 194, + 238, + 94, + 209, + 249, + 23, + 83, + 117, + 52, + 239, + 233, + 42, + 146, + 241, + 219, + 110, + 90, + 195, + 39, + 245, + 84, + 254, + 36, + 58, + 82, + 56, + 203, + 61, + 209, + 59, + 115, + 248, + 100, + 167, + 236, + 94, + 58, + 211, + 0, + 156, + 80, + 160, + 16, + 254 + ] + }, + { + name: "const-2", + shape: [ + 12 + ], + type: "INT48", + data: [ + 48, + 158, + 39, + 2, + 10, + 237, + 228, + 21, + 213, + 225, + 220, + 41, + 17, + 229, + 21, + 56, + 163, + 28, + 45, + 11, + 170, + 89, + 127, + 155, + 81, + 70, + 252, + 185, + 247, + 203, + 95, + 31, + 87, + 244, + 112, + 101, + 193, + 188, + 76, + 80, + 69, + 68, + 156, + 246, + 202, + 201, + 219, + 94, + 202, + 43, + 24, + 251, + 160, + 133, + 191, + 186, + 14, + 165, + 126, + 105, + 118, + 179, + 232, + 155, + 111, + 92, + 202, + 155, + 255, + 110, + 200, + 243 + ] + }, + { + name: "result-0", + shape: [ + 1, + 6, + 4, + 12 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1