From cf8e9c12427e303686dcd1e80c25d87784fc9591 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Fri, 17 Jun 2022 13:08:00 +0100 Subject: Updating DEPTHWISE_CONV2D_1X3 tests for v0.30.0 release Signed-off-by: Jeremy Johnson Change-Id: Ic1eff8636bb1e4ac251ff7fa6c1942c405525c4c --- .../test.json | 158 +++++++++++++++++++++ 1 file changed, 158 insertions(+) create mode 100644 operators/tensor/depthwise_conv2d_1x3/depthwise_conv2d_1x3_1x11x33x4_i8xi4_st11_pad0000_dilat11/test.json (limited to 'operators/tensor/depthwise_conv2d_1x3/depthwise_conv2d_1x3_1x11x33x4_i8xi4_st11_pad0000_dilat11/test.json') diff --git a/operators/tensor/depthwise_conv2d_1x3/depthwise_conv2d_1x3_1x11x33x4_i8xi4_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x3/depthwise_conv2d_1x3_1x11x33x4_i8xi4_st11_pad0000_dilat11/test.json new file mode 100644 index 000000000..b6f83490c --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x3/depthwise_conv2d_1x3_1x11x33x4_i8xi4_st11_pad0000_dilat11/test.json @@ -0,0 +1,158 @@ +{ + 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: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 55, + weight_zp: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 4 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 3, + 4, + 2 + ], + type: "INT4", + data: [ + 234, + 45, + 154, + 36, + 16, + 118, + 192, + 78, + 78, + 57, + 233, + 238 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT32", + data: [ + 235, + 1, + 30, + 213, + 12, + 237, + 205, + 105, + 251, + 243, + 8, + 66, + 33, + 37, + 190, + 185, + 167, + 11, + 3, + 203, + 194, + 2, + 152, + 176, + 239, + 12, + 245, + 245, + 68, + 255, + 233, + 116 + ] + }, + { + name: "result-0", + shape: [ + 1, + 11, + 31, + 8 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1