From 57e8885147a230102593a90a8fb332a44158b273 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Fri, 17 Jun 2022 13:07:57 +0100 Subject: Updating DEPTHWISE_CONV2D_1X1 tests for v0.30.0 release Signed-off-by: Jeremy Johnson Change-Id: Id3d138848a488ccec21fa9551867837ee1bb1aba --- .../test.json | 170 +++++++++++++++++++++ 1 file changed, 170 insertions(+) create mode 100644 operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_st12_pad1100_dilat12/test.json (limited to 'operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_st12_pad1100_dilat12/test.json') diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_st12_pad1100_dilat12/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_st12_pad1100_dilat12/test.json new file mode 100644 index 000000000..54e5e4b5f --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x11x33x4_i16xi8_st12_pad1100_dilat12/test.json @@ -0,0 +1,170 @@ +{ + 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, + 1, + 0, + 0 + ], + stride: [ + 1, + 2 + ], + dilation: [ + 1, + 2 + ], + input_zp: 0, + weight_zp: 29 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 4 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 4, + 2 + ], + type: "INT8", + data: [ + 123, + 48, + 85, + 23, + 62, + 49, + 184, + 200 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 78, + 149, + 114, + 172, + 230, + 31, + 4, + 2, + 88, + 110, + 186, + 95, + 1, + 229, + 214, + 14, + 57, + 145, + 208, + 145, + 194, + 36, + 80, + 223, + 30, + 99, + 114, + 165, + 215, + 30, + 206, + 90, + 185, + 154, + 210, + 56, + 145, + 39, + 59, + 10, + 187, + 192, + 180, + 137, + 75, + 201, + 216, + 9 + ] + }, + { + name: "result-0", + shape: [ + 1, + 13, + 17, + 8 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1