From ad8f3765e4ae052a25254e96216eebc4729c31cd Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Thu, 13 Oct 2022 13:59:47 +0100 Subject: Updating TRANSPOSE_CONV2D_3X3 tests for FP16 and accumulator types Signed-off-by: Jeremy Johnson Change-Id: I44c17639146a5ee976a8633ed2b7749711735138 --- .../test.json | 183 +++++++++++++++++++++ 1 file changed, 183 insertions(+) create mode 100644 operators/tensor/transpose_conv2d_3x3/transpose_conv2d_3x3_1x11x33x3_i16xi8_acci48_st22_pad11-10_os1x25x66x2/test.json (limited to 'operators/tensor/transpose_conv2d_3x3/transpose_conv2d_3x3_1x11x33x3_i16xi8_acci48_st22_pad11-10_os1x25x66x2/test.json') diff --git a/operators/tensor/transpose_conv2d_3x3/transpose_conv2d_3x3_1x11x33x3_i16xi8_acci48_st22_pad11-10_os1x25x66x2/test.json b/operators/tensor/transpose_conv2d_3x3/transpose_conv2d_3x3_1x11x33x3_i16xi8_acci48_st22_pad11-10_os1x25x66x2/test.json new file mode 100644 index 000000000..51e915de4 --- /dev/null +++ b/operators/tensor/transpose_conv2d_3x3/transpose_conv2d_3x3_1x11x33x3_i16xi8_acci48_st22_pad11-10_os1x25x66x2/test.json @@ -0,0 +1,183 @@ +{ + 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, + 1, + -1, + 0 + ], + stride: [ + 2, + 2 + ], + output_shape: [ + 1, + 25, + 66, + 2 + ], + input_zp: 0, + weight_zp: -40, + 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, + 3, + 3, + 3 + ], + type: "INT8", + data: [ + 5, + 200, + 223, + 102, + 181, + 135, + 100, + 86, + 200, + 153, + 170, + 82, + 35, + 192, + 81, + 185, + 204, + 222, + 143, + 250, + 46, + 176, + 71, + 108, + 169, + 205, + 144, + 177, + 211, + 81, + 163, + 201, + 35, + 104, + 205, + 86, + 203, + 214, + 55, + 86, + 202, + 243, + 151, + 184, + 97, + 182, + 153, + 212, + 178, + 94, + 139, + 55, + 82, + 39 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT48", + data: [ + 48, + 162, + 88, + 138, + 133, + 248, + 225, + 4, + 26, + 147, + 87, + 75 + ] + }, + { + name: "result-0", + shape: [ + 1, + 25, + 66, + 2 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1