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 | 319 +++++++++++++++++++++ 1 file changed, 319 insertions(+) create mode 100644 operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x37x11x5_bf16xbf16_accf32_st12_pad0099_dilat12/test.json (limited to 'operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x37x11x5_bf16xbf16_accf32_st12_pad0099_dilat12/test.json') diff --git a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x37x11x5_bf16xbf16_accf32_st12_pad0099_dilat12/test.json b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x37x11x5_bf16xbf16_accf32_st12_pad0099_dilat12/test.json new file mode 100644 index 000000000..97f0abe78 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x37x11x5_bf16xbf16_accf32_st12_pad0099_dilat12/test.json @@ -0,0 +1,319 @@ +{ + 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, + 9, + 9 + ], + stride: [ + 1, + 2 + ], + dilation: [ + 1, + 2 + ], + input_zp: 0, + weight_zp: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 37, + 11, + 5 + ], + type: "BF16" + }, + { + name: "const-1", + shape: [ + 2, + 2, + 5, + 2 + ], + type: "BF16", + data: [ + 0, + 0, + 190, + 63, + 0, + 0, + 35, + 191, + 0, + 0, + 75, + 191, + 0, + 0, + 255, + 191, + 0, + 0, + 54, + 61, + 0, + 0, + 140, + 191, + 0, + 0, + 102, + 63, + 0, + 0, + 141, + 62, + 0, + 0, + 60, + 191, + 0, + 0, + 158, + 191, + 0, + 0, + 244, + 63, + 0, + 0, + 140, + 191, + 0, + 0, + 214, + 63, + 0, + 0, + 147, + 191, + 0, + 0, + 193, + 61, + 0, + 0, + 82, + 63, + 0, + 0, + 119, + 63, + 0, + 0, + 249, + 63, + 0, + 0, + 231, + 63, + 0, + 0, + 248, + 63, + 0, + 0, + 25, + 191, + 0, + 0, + 230, + 63, + 0, + 0, + 198, + 63, + 0, + 0, + 194, + 191, + 0, + 0, + 245, + 63, + 0, + 0, + 161, + 63, + 0, + 0, + 229, + 63, + 0, + 0, + 41, + 191, + 0, + 0, + 113, + 63, + 0, + 0, + 215, + 63, + 0, + 0, + 95, + 62, + 0, + 0, + 177, + 61, + 0, + 0, + 131, + 63, + 0, + 0, + 36, + 62, + 0, + 0, + 180, + 63, + 0, + 0, + 203, + 63, + 0, + 0, + 176, + 63, + 0, + 0, + 179, + 191, + 0, + 0, + 36, + 191, + 0, + 0, + 232, + 191 + ] + }, + { + name: "const-2", + shape: [ + 10 + ], + type: "FP32", + data: [ + 203, + 80, + 62, + 63, + 120, + 3, + 232, + 191, + 184, + 236, + 87, + 190, + 184, + 157, + 116, + 63, + 101, + 171, + 248, + 63, + 228, + 144, + 182, + 62, + 111, + 163, + 223, + 191, + 68, + 113, + 203, + 190, + 132, + 142, + 70, + 63, + 98, + 148, + 162, + 191 + ] + }, + { + name: "result-0", + shape: [ + 1, + 36, + 14, + 10 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} -- cgit v1.2.1