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 | 324 +++++++++++++++++++++ 1 file changed, 324 insertions(+) create mode 100644 operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x21x21x21_i8xi8_st11_pad0000_dilat11/test.json (limited to 'operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x21x21x21_i8xi8_st11_pad0000_dilat11/test.json') diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x21x21x21_i8xi8_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x21x21x21_i8xi8_st11_pad0000_dilat11/test.json new file mode 100644 index 000000000..8ef5cec04 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x21x21x21_i8xi8_st11_pad0000_dilat11/test.json @@ -0,0 +1,324 @@ +{ + 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: 15, + weight_zp: 68 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 21, + 21, + 21 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 21, + 2 + ], + type: "INT8", + data: [ + 40, + 95, + 221, + 142, + 208, + 139, + 189, + 28, + 253, + 5, + 161, + 108, + 165, + 167, + 16, + 164, + 193, + 207, + 131, + 63, + 179, + 37, + 18, + 117, + 11, + 21, + 92, + 230, + 164, + 53, + 185, + 109, + 105, + 195, + 63, + 191, + 162, + 154, + 71, + 5, + 211, + 39 + ] + }, + { + name: "const-2", + shape: [ + 42 + ], + type: "INT32", + data: [ + 235, + 0, + 98, + 46, + 153, + 82, + 105, + 108, + 88, + 222, + 144, + 163, + 38, + 126, + 201, + 249, + 3, + 121, + 122, + 114, + 121, + 171, + 151, + 167, + 170, + 185, + 132, + 161, + 223, + 24, + 56, + 87, + 52, + 116, + 159, + 253, + 8, + 204, + 137, + 159, + 62, + 145, + 38, + 170, + 98, + 8, + 158, + 12, + 103, + 215, + 26, + 4, + 126, + 109, + 131, + 105, + 190, + 177, + 56, + 172, + 152, + 76, + 111, + 147, + 8, + 190, + 147, + 180, + 237, + 255, + 26, + 106, + 107, + 240, + 188, + 179, + 203, + 251, + 211, + 42, + 34, + 166, + 229, + 221, + 234, + 77, + 107, + 2, + 19, + 248, + 141, + 113, + 251, + 211, + 117, + 24, + 16, + 141, + 191, + 250, + 130, + 222, + 237, + 73, + 210, + 58, + 79, + 175, + 48, + 146, + 20, + 141, + 15, + 245, + 181, + 160, + 91, + 229, + 35, + 190, + 189, + 225, + 145, + 193, + 175, + 80, + 220, + 250, + 155, + 9, + 224, + 167, + 154, + 59, + 20, + 5, + 176, + 139, + 37, + 7, + 28, + 246, + 100, + 85, + 146, + 153, + 117, + 43, + 106, + 220, + 129, + 180, + 225, + 253, + 144, + 20, + 88, + 223, + 15, + 244, + 250, + 81, + 232, + 253, + 10, + 138, + 129, + 251 + ] + }, + { + name: "result-0", + shape: [ + 1, + 21, + 22, + 42 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1