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 | 156 +++++++++++++++++++++ 1 file changed, 156 insertions(+) create mode 100644 operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i16xi8_st81_pad0001_dilat11/test.json (limited to 'operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i16xi8_st81_pad0001_dilat11/test.json') diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i16xi8_st81_pad0001_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i16xi8_st81_pad0001_dilat11/test.json new file mode 100644 index 000000000..2a4dbdba6 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i16xi8_st81_pad0001_dilat11/test.json @@ -0,0 +1,156 @@ +{ + 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, + 1 + ], + stride: [ + 8, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 0, + weight_zp: -125 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 9, + 44, + 3 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 3, + 2 + ], + type: "INT8", + data: [ + 112, + 242, + 158, + 39, + 25, + 146 + ] + }, + { + name: "const-2", + shape: [ + 6 + ], + type: "INT48", + data: [ + 201, + 251, + 116, + 222, + 217, + 15, + 231, + 181, + 241, + 132, + 30, + 148, + 171, + 209, + 110, + 158, + 81, + 70, + 13, + 228, + 242, + 188, + 29, + 45, + 95, + 240, + 132, + 49, + 135, + 14, + 48, + 105, + 253, + 6, + 223, + 40 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 45, + 6 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1