From dca402e71ab73c9e5843eb5a1cba4c380f8874a9 Mon Sep 17 00:00:00 2001 From: James Ward Date: Tue, 7 Feb 2023 20:10:48 +0000 Subject: Create MI tests for Tensors: DEPTHWISE_CONV2D Signed-off-by: James Ward Change-Id: I1f414a68c4f532b3315ec5ffab932dd3d70407b5 --- .../test.json | 311 +++++++++++++++++++++ 1 file changed, 311 insertions(+) create mode 100644 operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x5x2x8_i48xi48_acci48_st11_pad0000_dilat11/test.json (limited to 'operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x5x2x8_i48xi48_acci48_st11_pad0000_dilat11/test.json') diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x5x2x8_i48xi48_acci48_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x5x2x8_i48xi48_acci48_st11_pad0000_dilat11/test.json new file mode 100644 index 000000000..415dd2435 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x5x2x8_i48xi48_acci48_st11_pad0000_dilat11/test.json @@ -0,0 +1,311 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + 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: 0, + weight_zp: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 5, + 2, + 8 + ], + type: "INT48" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 8, + 2 + ], + type: "INT48", + data: [ + 88, + 165, + 240, + 152, + 9, + 225, + 186, + 105, + 155, + 99, + 91, + 4, + 185, + 22, + 110, + 32, + 225, + 61, + 28, + 167, + 52, + 186, + 43, + 59, + 176, + 136, + 56, + 19, + 112, + 72, + 34, + 243, + 199, + 46, + 231, + 17, + 195, + 113, + 19, + 14, + 200, + 154, + 87, + 199, + 40, + 203, + 106, + 103, + 17, + 179, + 116, + 41, + 150, + 93, + 119, + 220, + 17, + 29, + 80, + 76, + 188, + 128, + 89, + 150, + 144, + 153, + 212, + 0, + 199, + 98, + 83, + 180, + 87, + 110, + 241, + 151, + 92, + 62, + 175, + 116, + 93, + 130, + 236, + 133, + 217, + 53, + 49, + 119, + 174, + 122, + 239, + 252, + 195, + 141, + 140, + 224 + ] + }, + { + name: "const-2", + shape: [ + 16 + ], + type: "INT48", + data: [ + 19, + 206, + 191, + 221, + 36, + 56, + 103, + 238, + 221, + 219, + 55, + 99, + 245, + 160, + 223, + 118, + 6, + 229, + 108, + 160, + 177, + 170, + 178, + 209, + 28, + 89, + 104, + 117, + 214, + 27, + 71, + 146, + 55, + 184, + 187, + 20, + 122, + 98, + 199, + 101, + 189, + 232, + 155, + 2, + 16, + 233, + 13, + 26, + 102, + 147, + 71, + 39, + 117, + 111, + 24, + 129, + 152, + 69, + 183, + 247, + 83, + 17, + 16, + 178, + 93, + 178, + 137, + 86, + 64, + 146, + 144, + 224, + 216, + 92, + 249, + 49, + 228, + 228, + 215, + 196, + 220, + 86, + 144, + 161, + 14, + 85, + 88, + 242, + 177, + 169, + 203, + 78, + 197, + 117, + 63, + 47 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 2, + 16 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} -- cgit v1.2.1