From f805901e66d10df96605b617439afa5f0a3e8bd8 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Thu, 13 Oct 2022 13:59:43 +0100 Subject: Updating TRANSPOSE_CONV2D_2X2 tests for FP16 and accumulator types Signed-off-by: Jeremy Johnson Change-Id: Iae8117bcbfbca7198e150ddf39c3332004fbf8b1 --- .../test.json | 153 +++++++++++++++++++++ 1 file changed, 153 insertions(+) create mode 100644 operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i16xi8_acci48_st81_pad9-1-1-1_os1x90x32x2/test.json (limited to 'operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i16xi8_acci48_st81_pad9-1-1-1_os1x90x32x2/test.json') diff --git a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i16xi8_acci48_st81_pad9-1-1-1_os1x90x32x2/test.json b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i16xi8_acci48_st81_pad9-1-1-1_os1x90x32x2/test.json new file mode 100644 index 000000000..3da59d035 --- /dev/null +++ b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x11x33x3_i16xi8_acci48_st81_pad9-1-1-1_os1x90x32x2/test.json @@ -0,0 +1,153 @@ +{ + 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: [ + 9, + -1, + -1, + -1 + ], + stride: [ + 8, + 1 + ], + output_shape: [ + 1, + 90, + 32, + 2 + ], + input_zp: 0, + weight_zp: 16, + 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, + 2, + 2, + 3 + ], + type: "INT8", + data: [ + 21, + 3, + 103, + 189, + 151, + 108, + 194, + 92, + 167, + 224, + 78, + 179, + 179, + 218, + 49, + 49, + 53, + 211, + 65, + 249, + 224, + 115, + 126, + 113 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT48", + data: [ + 243, + 136, + 39, + 99, + 35, + 244, + 215, + 25, + 78, + 211, + 74, + 102 + ] + }, + { + name: "result-0", + shape: [ + 1, + 90, + 32, + 2 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1