From 220eadba743b0a715a0cca31652addab40d9c5f5 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Fri, 17 Jun 2022 13:08:09 +0100 Subject: Updating DEPTHWISE_CONV2D_3X1 tests for v0.30.0 release Signed-off-by: Jeremy Johnson Change-Id: Ic51c85c758f40f2f76638e19b40c9dc6ebf931da --- .../test.json | 125 +++++++++++++++++++++ 1 file changed, 125 insertions(+) create mode 100644 operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65532x2x1_i8xi4_st11_pad1000_dilat11/test.json (limited to 'operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65532x2x1_i8xi4_st11_pad1000_dilat11/test.json') diff --git a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65532x2x1_i8xi4_st11_pad1000_dilat11/test.json b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65532x2x1_i8xi4_st11_pad1000_dilat11/test.json new file mode 100644 index 000000000..effe13bba --- /dev/null +++ b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65532x2x1_i8xi4_st11_pad1000_dilat11/test.json @@ -0,0 +1,125 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-1" + ] + }, + { + op: "CONST", + attribute_type: "NONE", + inputs: [ + + ], + outputs: [ + "const-2" + ] + }, + { + op: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: -31, + weight_zp: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65532, + 2, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 3, + 1, + 1, + 2 + ], + type: "INT4", + data: [ + 53, + 254, + 217 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT32", + data: [ + 204, + 88, + 26, + 104, + 57, + 251, + 60, + 205 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65531, + 2, + 2 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1