From 56a65f5a919b65f29e4ec88a22ff77e255c5f630 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Thu, 13 Oct 2022 13:56:58 +0100 Subject: Updating CONV2D_3X3 tests for FP16 and accumulator types Signed-off-by: Jeremy Johnson Change-Id: Icf40f28c1d1e1f6349f6a80c3ce32f1b7298258a --- .../test.json | 238 +++++++++++++++++++++ 1 file changed, 238 insertions(+) create mode 100644 operators/tensor/conv2d_3x3/conv2d_3x3_1x11x44x13_i16xi8_acci48_st11_pad0000_dilat11/test.json (limited to 'operators/tensor/conv2d_3x3/conv2d_3x3_1x11x44x13_i16xi8_acci48_st11_pad0000_dilat11/test.json') diff --git a/operators/tensor/conv2d_3x3/conv2d_3x3_1x11x44x13_i16xi8_acci48_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_3x3/conv2d_3x3_1x11x44x13_i16xi8_acci48_st11_pad0000_dilat11/test.json new file mode 100644 index 000000000..1df552255 --- /dev/null +++ b/operators/tensor/conv2d_3x3/conv2d_3x3_1x11x44x13_i16xi8_acci48_st11_pad0000_dilat11/test.json @@ -0,0 +1,238 @@ +{ + 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: -90, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 44, + 13 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 3, + 3, + 13 + ], + type: "INT8", + data: [ + 139, + 174, + 70, + 209, + 137, + 106, + 195, + 171, + 143, + 185, + 228, + 154, + 32, + 222, + 157, + 76, + 123, + 10, + 173, + 192, + 241, + 100, + 245, + 138, + 228, + 50, + 123, + 186, + 109, + 54, + 128, + 93, + 192, + 68, + 64, + 180, + 27, + 155, + 27, + 0, + 195, + 2, + 128, + 81, + 241, + 125, + 92, + 194, + 207, + 130, + 197, + 143, + 62, + 142, + 182, + 63, + 202, + 148, + 236, + 246, + 95, + 185, + 214, + 219, + 96, + 219, + 35, + 78, + 204, + 137, + 81, + 202, + 44, + 188, + 223, + 143, + 240, + 209, + 207, + 94, + 203, + 81, + 205, + 74, + 5, + 134, + 195, + 136, + 97, + 213, + 226, + 70, + 118, + 163, + 147, + 25, + 29, + 203, + 160, + 206, + 70, + 163, + 36, + 244, + 175, + 187, + 237, + 101, + 22, + 230, + 118, + 0, + 249, + 73, + 126, + 242, + 212 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT48", + data: [ + 80, + 131, + 209, + 145, + 202, + 109 + ] + }, + { + name: "result-0", + shape: [ + 1, + 9, + 42, + 1 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1