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 | 199 +++++++++++++++++++++ 1 file changed, 199 insertions(+) create mode 100644 operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x17x31x4_f16xf16_accf32_st12_pad1100_dilat12/test.json (limited to 'operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x17x31x4_f16xf16_accf32_st12_pad1100_dilat12/test.json') diff --git a/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x17x31x4_f16xf16_accf32_st12_pad1100_dilat12/test.json b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x17x31x4_f16xf16_accf32_st12_pad1100_dilat12/test.json new file mode 100644 index 000000000..8fa96f5c2 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_3x1/depthwise_conv2d_3x1_1x17x31x4_f16xf16_accf32_st12_pad1100_dilat12/test.json @@ -0,0 +1,199 @@ +{ + 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, + 0 + ], + 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, + 17, + 31, + 4 + ], + type: "FP16" + }, + { + name: "const-1", + shape: [ + 3, + 1, + 4, + 2 + ], + type: "FP16", + data: [ + 68, + 62, + 210, + 184, + 85, + 54, + 161, + 184, + 236, + 50, + 165, + 188, + 79, + 61, + 120, + 182, + 203, + 181, + 204, + 187, + 74, + 187, + 49, + 174, + 125, + 58, + 26, + 183, + 103, + 188, + 118, + 63, + 5, + 56, + 195, + 176, + 233, + 62, + 108, + 63, + 57, + 191, + 175, + 53, + 111, + 186, + 157, + 54 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "FP32", + data: [ + 202, + 226, + 129, + 191, + 8, + 143, + 124, + 63, + 240, + 203, + 253, + 62, + 196, + 95, + 151, + 191, + 78, + 249, + 26, + 63, + 109, + 10, + 13, + 188, + 101, + 222, + 39, + 62, + 28, + 211, + 20, + 191 + ] + }, + { + name: "result-0", + shape: [ + 1, + 17, + 16, + 8 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} -- cgit v1.2.1