From c824c384c0420ae9f9fa5efb006c4fba1594f765 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Tue, 23 Aug 2022 16:47:57 +0100 Subject: Regen TRANSPOSE_CONV2D tests for pad inversion Signed-off-by: Jeremy Johnson Change-Id: I41bb060e77280399d9f7f126a44966f4edff4f3f --- .../test.json | 127 +++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi4_st21_pad1111_os1x23x35x2/test.json (limited to 'operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi4_st21_pad1111_os1x23x35x2/test.json') diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi4_st21_pad1111_os1x23x35x2/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi4_st21_pad1111_os1x23x35x2/test.json new file mode 100644 index 000000000..0698a223d --- /dev/null +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_1x11x33x3_i8xi4_st21_pad1111_os1x23x35x2/test.json @@ -0,0 +1,127 @@ +{ + version: { + _major: 0, + _minor: 31, + _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, + 1 + ], + stride: [ + 2, + 1 + ], + output_shape: [ + 1, + 23, + 35, + 2 + ], + input_zp: 27, + weight_zp: 0 + }, + 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, + 1, + 1, + 3 + ], + type: "INT4", + data: [ + 228, + 255, + 52 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 50, + 77, + 234, + 81, + 245, + 207, + 141, + 237 + ] + }, + { + name: "result-0", + shape: [ + 1, + 23, + 35, + 2 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1