From 1a93a54b3e0498fd5d57182098b953dca2e3b992 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Mon, 30 Jan 2023 11:48:56 +0000 Subject: Create MI tests for Tensor: CONV2D Signed-off-by: Jeremy Johnson Change-Id: I383bcfcca6de3c6940d58721579f0fcc1d510774 --- .../test.json | 235 +++++++++++++++++++++ 1 file changed, 235 insertions(+) create mode 100644 operators/tensor/conv2d_2x2/conv2d_2x2_1x16x51x7_f32xf32_accf32_st11_pad0990_dilat11/test.json (limited to 'operators/tensor/conv2d_2x2/conv2d_2x2_1x16x51x7_f32xf32_accf32_st11_pad0990_dilat11/test.json') diff --git a/operators/tensor/conv2d_2x2/conv2d_2x2_1x16x51x7_f32xf32_accf32_st11_pad0990_dilat11/test.json b/operators/tensor/conv2d_2x2/conv2d_2x2_1x16x51x7_f32xf32_accf32_st11_pad0990_dilat11/test.json new file mode 100644 index 000000000..026e49e41 --- /dev/null +++ b/operators/tensor/conv2d_2x2/conv2d_2x2_1x16x51x7_f32xf32_accf32_st11_pad0990_dilat11/test.json @@ -0,0 +1,235 @@ +{ + 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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 9, + 9, + 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, + 16, + 51, + 7 + ], + type: "FP32" + }, + { + name: "const-1", + shape: [ + 1, + 2, + 2, + 7 + ], + type: "FP32", + data: [ + 117, + 18, + 83, + 63, + 209, + 58, + 181, + 191, + 79, + 59, + 173, + 63, + 95, + 83, + 38, + 191, + 232, + 169, + 147, + 191, + 226, + 45, + 191, + 191, + 28, + 169, + 157, + 63, + 96, + 140, + 17, + 191, + 38, + 118, + 146, + 63, + 236, + 29, + 164, + 63, + 195, + 218, + 141, + 191, + 29, + 49, + 204, + 63, + 193, + 21, + 196, + 191, + 233, + 17, + 169, + 191, + 187, + 183, + 2, + 63, + 136, + 147, + 54, + 191, + 81, + 11, + 134, + 190, + 91, + 96, + 66, + 62, + 41, + 187, + 19, + 63, + 231, + 70, + 7, + 63, + 247, + 80, + 254, + 191, + 190, + 111, + 202, + 191, + 39, + 203, + 90, + 191, + 106, + 140, + 2, + 63, + 226, + 0, + 77, + 63, + 96, + 47, + 146, + 191, + 24, + 216, + 1, + 63, + 19, + 231, + 152, + 191 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "FP32", + data: [ + 25, + 179, + 130, + 191 + ] + }, + { + name: "result-0", + shape: [ + 1, + 24, + 59, + 1 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} -- cgit v1.2.1