From 36989d315242a1c9296bb434ea0691b1304420b0 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Mon, 13 Feb 2023 12:10:09 +0000 Subject: Create MI tests for Tensor: CONV3D Signed-off-by: Jeremy Johnson Change-Id: I1625af764e1c927aa04cfa8ab8f24ea76b18a053 --- .../test.json | 154 +++++++++++++++++++++ 1 file changed, 154 insertions(+) create mode 100644 operators/tensor/conv3d_1x1x2/conv3d_1x1x2_1x6x12x17x3_bf16xbf16_accf32_st118_pad090009_dilat711/test.json (limited to 'operators/tensor/conv3d_1x1x2/conv3d_1x1x2_1x6x12x17x3_bf16xbf16_accf32_st118_pad090009_dilat711/test.json') diff --git a/operators/tensor/conv3d_1x1x2/conv3d_1x1x2_1x6x12x17x3_bf16xbf16_accf32_st118_pad090009_dilat711/test.json b/operators/tensor/conv3d_1x1x2/conv3d_1x1x2_1x6x12x17x3_bf16xbf16_accf32_st118_pad090009_dilat711/test.json new file mode 100644 index 000000000..eaade8e7f --- /dev/null +++ b/operators/tensor/conv3d_1x1x2/conv3d_1x1x2_1x6x12x17x3_bf16xbf16_accf32_st118_pad090009_dilat711/test.json @@ -0,0 +1,154 @@ +{ + 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: "CONV3D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 9, + 0, + 0, + 0, + 9 + ], + stride: [ + 1, + 1, + 8 + ], + dilation: [ + 7, + 1, + 1 + ], + input_zp: 0, + weight_zp: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 6, + 12, + 17, + 3 + ], + type: "BF16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 2, + 3 + ], + type: "BF16", + data: [ + 0, + 0, + 144, + 191, + 0, + 0, + 152, + 190, + 0, + 0, + 45, + 63, + 0, + 0, + 140, + 190, + 0, + 0, + 208, + 191, + 0, + 0, + 210, + 191 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "FP32", + data: [ + 56, + 42, + 216, + 191 + ] + }, + { + name: "result-0", + shape: [ + 1, + 15, + 12, + 4, + 1 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} -- cgit v1.2.1