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 | 132 +++++++++++++++++++++ 1 file changed, 132 insertions(+) create mode 100644 operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_PadSmallerZero_1x13x24x1_i8xi4_st11_pad-2-2-2-2_dilat11/test.json (limited to 'operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_PadSmallerZero_1x13x24x1_i8xi4_st11_pad-2-2-2-2_dilat11/test.json') diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_PadSmallerZero_1x13x24x1_i8xi4_st11_pad-2-2-2-2_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_PadSmallerZero_1x13x24x1_i8xi4_st11_pad-2-2-2-2_dilat11/test.json new file mode 100644 index 000000000..d60d74c20 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_PadSmallerZero_1x13x24x1_i8xi4_st11_pad-2-2-2-2_dilat11/test.json @@ -0,0 +1,132 @@ +{ + 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: [ + -2, + -2, + -2, + -2 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 98, + weight_zp: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 13, + 24, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 4 + ], + type: "INT4", + data: [ + 234, + 227 + ] + }, + { + name: "const-2", + shape: [ + 4 + ], + type: "INT32", + data: [ + 154, + 177, + 75, + 71, + 170, + 22, + 236, + 202, + 35, + 38, + 214, + 207, + 43, + 97, + 65, + 26 + ] + }, + { + name: "result-0", + shape: [ + 1, + 9, + 20, + 4 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1