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 | 122 +++++++++++++++++++++ 1 file changed, 122 insertions(+) create mode 100644 operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi4_st11_pad10-10_os1x51x33x1/test.json (limited to 'operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi4_st11_pad10-10_os1x51x33x1/test.json') diff --git a/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi4_st11_pad10-10_os1x51x33x1/test.json b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi4_st11_pad10-10_os1x51x33x1/test.json new file mode 100644 index 000000000..ce05e4426 --- /dev/null +++ b/operators/tensor/transpose_conv2d_2x2/transpose_conv2d_2x2_1x49x33x1_i8xi4_st11_pad10-10_os1x51x33x1/test.json @@ -0,0 +1,122 @@ +{ + 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, + 0, + -1, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 51, + 33, + 1 + ], + input_zp: -110, + weight_zp: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 49, + 33, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 2, + 2, + 1 + ], + type: "INT4", + data: [ + 111, + 183 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 106, + 21, + 199, + 90 + ] + }, + { + name: "result-0", + shape: [ + 1, + 51, + 33, + 1 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1