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 | 141 +++++++++++++++++++++ 1 file changed, 141 insertions(+) create mode 100644 operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i8xi4_st21_pad0090_dilat21/test.json (limited to 'operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i8xi4_st21_pad0090_dilat21/test.json') diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i8xi4_st21_pad0090_dilat21/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i8xi4_st21_pad0090_dilat21/test.json new file mode 100644 index 000000000..5c123d3c0 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_1x9x44x3_i8xi4_st21_pad0090_dilat21/test.json @@ -0,0 +1,141 @@ +{ + 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, + 9, + 0 + ], + stride: [ + 2, + 1 + ], + dilation: [ + 2, + 1 + ], + input_zp: -128, + weight_zp: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 9, + 44, + 3 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 3, + 2 + ], + type: "INT4", + data: [ + 32, + 236, + 97 + ] + }, + { + name: "const-2", + shape: [ + 6 + ], + type: "INT32", + data: [ + 109, + 141, + 130, + 143, + 161, + 164, + 162, + 111, + 246, + 228, + 240, + 80, + 46, + 195, + 142, + 88, + 107, + 198, + 49, + 140, + 175, + 139, + 94, + 17 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 53, + 6 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1