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 | 283 +++++++++++++++++++++ 1 file changed, 283 insertions(+) create mode 100644 operators/tensor/conv2d_1x3/conv2d_1x3_1x34x19x27_f16xf16_accf16_st11_pad0990_dilat11/test.json (limited to 'operators/tensor/conv2d_1x3/conv2d_1x3_1x34x19x27_f16xf16_accf16_st11_pad0990_dilat11/test.json') diff --git a/operators/tensor/conv2d_1x3/conv2d_1x3_1x34x19x27_f16xf16_accf16_st11_pad0990_dilat11/test.json b/operators/tensor/conv2d_1x3/conv2d_1x3_1x34x19x27_f16xf16_accf16_st11_pad0990_dilat11/test.json new file mode 100644 index 000000000..89b62aad2 --- /dev/null +++ b/operators/tensor/conv2d_1x3/conv2d_1x3_1x34x19x27_f16xf16_accf16_st11_pad0990_dilat11/test.json @@ -0,0 +1,283 @@ +{ + 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, + 34, + 19, + 27 + ], + type: "FP16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 3, + 27 + ], + type: "FP16", + data: [ + 229, + 62, + 99, + 187, + 112, + 188, + 76, + 181, + 102, + 182, + 16, + 62, + 9, + 183, + 36, + 188, + 167, + 186, + 18, + 186, + 215, + 176, + 241, + 188, + 131, + 57, + 12, + 189, + 217, + 189, + 240, + 63, + 95, + 185, + 60, + 57, + 68, + 184, + 247, + 181, + 176, + 188, + 199, + 181, + 216, + 190, + 20, + 62, + 210, + 56, + 200, + 191, + 41, + 61, + 69, + 62, + 194, + 184, + 188, + 168, + 119, + 60, + 74, + 185, + 131, + 62, + 14, + 62, + 163, + 188, + 178, + 61, + 182, + 187, + 45, + 183, + 14, + 57, + 12, + 180, + 46, + 62, + 55, + 60, + 241, + 182, + 197, + 190, + 251, + 186, + 39, + 63, + 114, + 62, + 204, + 60, + 55, + 61, + 109, + 187, + 106, + 184, + 51, + 57, + 200, + 189, + 116, + 189, + 72, + 185, + 108, + 59, + 89, + 50, + 98, + 190, + 78, + 60, + 17, + 180, + 86, + 58, + 22, + 59, + 200, + 191, + 211, + 58, + 43, + 187, + 221, + 184, + 200, + 62, + 21, + 190, + 136, + 60, + 89, + 44, + 184, + 191, + 221, + 60, + 176, + 60, + 129, + 191, + 71, + 190, + 180, + 188, + 82, + 184, + 97, + 187, + 32, + 59, + 210, + 59, + 20, + 190 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "FP16", + data: [ + 250, + 60 + ] + }, + { + name: "result-0", + shape: [ + 1, + 43, + 26, + 1 + ], + type: "FP16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} -- cgit v1.2.1