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 | 215 +++++++++++++++++++++ 1 file changed, 215 insertions(+) create mode 100644 operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65540x1x3_f32xf32_accf32_st11_pad1101_dilat11/test.json (limited to 'operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65540x1x3_f32xf32_accf32_st11_pad1101_dilat11/test.json') diff --git a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65540x1x3_f32xf32_accf32_st11_pad1101_dilat11/test.json b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65540x1x3_f32xf32_accf32_st11_pad1101_dilat11/test.json new file mode 100644 index 000000000..02394d5c7 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x65540x1x3_f32xf32_accf32_st11_pad1101_dilat11/test.json @@ -0,0 +1,215 @@ +{ + 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: [ + 1, + 1, + 0, + 1 + ], + 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, + 65540, + 1, + 3 + ], + type: "FP32" + }, + { + name: "const-1", + shape: [ + 3, + 1, + 3, + 2 + ], + type: "FP32", + data: [ + 190, + 211, + 79, + 63, + 223, + 18, + 152, + 189, + 145, + 9, + 70, + 190, + 7, + 58, + 176, + 191, + 16, + 216, + 238, + 63, + 255, + 52, + 206, + 63, + 223, + 144, + 243, + 63, + 224, + 121, + 30, + 191, + 234, + 211, + 196, + 189, + 50, + 16, + 253, + 63, + 157, + 58, + 12, + 63, + 208, + 61, + 248, + 63, + 85, + 220, + 140, + 191, + 12, + 233, + 100, + 62, + 111, + 45, + 150, + 63, + 38, + 34, + 189, + 191, + 33, + 120, + 252, + 62, + 180, + 197, + 177, + 59 + ] + }, + { + name: "const-2", + shape: [ + 6 + ], + type: "FP32", + data: [ + 72, + 13, + 160, + 62, + 37, + 111, + 206, + 191, + 61, + 204, + 7, + 63, + 66, + 87, + 11, + 60, + 201, + 45, + 182, + 191, + 81, + 175, + 116, + 63 + ] + }, + { + name: "result-0", + shape: [ + 1, + 65540, + 2, + 6 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} -- cgit v1.2.1