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 | 152 +++++++++++++++++++++ 1 file changed, 152 insertions(+) create mode 100644 operators/tensor/transpose_conv2d_3x3/transpose_conv2d_3x3_1x11x33x3_i8xi4_acci32_st12_pad-100-2_os1x12x65x2/test.json (limited to 'operators/tensor/transpose_conv2d_3x3/transpose_conv2d_3x3_1x11x33x3_i8xi4_acci32_st12_pad-100-2_os1x12x65x2/test.json') diff --git a/operators/tensor/transpose_conv2d_3x3/transpose_conv2d_3x3_1x11x33x3_i8xi4_acci32_st12_pad-100-2_os1x12x65x2/test.json b/operators/tensor/transpose_conv2d_3x3/transpose_conv2d_3x3_1x11x33x3_i8xi4_acci32_st12_pad-100-2_os1x12x65x2/test.json new file mode 100644 index 000000000..de423303b --- /dev/null +++ b/operators/tensor/transpose_conv2d_3x3/transpose_conv2d_3x3_1x11x33x3_i8xi4_acci32_st12_pad-100-2_os1x12x65x2/test.json @@ -0,0 +1,152 @@ +{ + 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, + 0, + 0, + -2 + ], + stride: [ + 1, + 2 + ], + output_shape: [ + 1, + 12, + 65, + 2 + ], + input_zp: 107, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 3 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 2, + 3, + 3, + 3 + ], + type: "INT4", + data: [ + 155, + 42, + 0, + 228, + 30, + 48, + 23, + 249, + 123, + 16, + 208, + 204, + 0, + 174, + 154, + 25, + 252, + 94, + 154, + 49, + 61, + 89, + 95, + 117, + 160, + 226, + 116 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 144, + 229, + 128, + 128, + 65, + 113, + 155, + 84 + ] + }, + { + name: "result-0", + shape: [ + 1, + 12, + 65, + 2 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1