From d166f2283a21e7d02531ebb702bc0bd48c81810c Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Thu, 13 Oct 2022 13:59:48 +0100 Subject: Updating TRANSPOSE_CONV2D_5X5 tests for FP16 and accumulator types Signed-off-by: Jeremy Johnson Change-Id: I4ce4520354c2069a9cfe46031b3bdd8b3db63e93 --- .../test.json | 279 +++++++++++++++++++++ 1 file changed, 279 insertions(+) create mode 100644 operators/tensor/transpose_conv2d_5x5/transpose_conv2d_5x5_1x11x33x3_i16xi8_acci48_st22_pad1-21-4_os1x24x66x2/test.json (limited to 'operators/tensor/transpose_conv2d_5x5/transpose_conv2d_5x5_1x11x33x3_i16xi8_acci48_st22_pad1-21-4_os1x24x66x2/test.json') diff --git a/operators/tensor/transpose_conv2d_5x5/transpose_conv2d_5x5_1x11x33x3_i16xi8_acci48_st22_pad1-21-4_os1x24x66x2/test.json b/operators/tensor/transpose_conv2d_5x5/transpose_conv2d_5x5_1x11x33x3_i16xi8_acci48_st22_pad1-21-4_os1x24x66x2/test.json new file mode 100644 index 000000000..9cee05b70 --- /dev/null +++ b/operators/tensor/transpose_conv2d_5x5/transpose_conv2d_5x5_1x11x33x3_i16xi8_acci48_st22_pad1-21-4_os1x24x66x2/test.json @@ -0,0 +1,279 @@ +{ + 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: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 1, + -2, + 1, + -4 + ], + stride: [ + 2, + 2 + ], + output_shape: [ + 1, + 24, + 66, + 2 + ], + input_zp: 0, + weight_zp: -49, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 3 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 2, + 5, + 5, + 3 + ], + type: "INT8", + data: [ + 61, + 5, + 248, + 206, + 25, + 152, + 25, + 114, + 171, + 212, + 186, + 99, + 116, + 33, + 133, + 195, + 247, + 66, + 255, + 47, + 49, + 108, + 84, + 178, + 36, + 236, + 66, + 174, + 113, + 31, + 145, + 79, + 170, + 188, + 85, + 19, + 27, + 201, + 32, + 8, + 60, + 111, + 51, + 68, + 231, + 11, + 48, + 6, + 133, + 134, + 59, + 100, + 53, + 105, + 41, + 225, + 153, + 72, + 52, + 110, + 208, + 123, + 123, + 52, + 234, + 213, + 105, + 139, + 218, + 154, + 165, + 25, + 32, + 137, + 47, + 93, + 65, + 196, + 109, + 58, + 234, + 82, + 129, + 36, + 232, + 189, + 244, + 19, + 212, + 179, + 143, + 32, + 44, + 146, + 81, + 183, + 31, + 111, + 27, + 184, + 157, + 89, + 3, + 78, + 163, + 157, + 128, + 101, + 28, + 238, + 75, + 65, + 178, + 246, + 23, + 134, + 150, + 124, + 198, + 167, + 9, + 154, + 3, + 147, + 230, + 69, + 130, + 181, + 35, + 151, + 166, + 203, + 175, + 115, + 30, + 230, + 108, + 37, + 46, + 231, + 233, + 226, + 83, + 98, + 238, + 171, + 10, + 17, + 251, + 105 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT48", + data: [ + 55, + 202, + 37, + 215, + 114, + 156, + 74, + 101, + 38, + 85, + 162, + 91 + ] + }, + { + name: "result-0", + shape: [ + 1, + 24, + 66, + 2 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1