From 3829a2bc720bcbdc6cff09889745f46000de0cb4 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Thu, 13 Oct 2022 13:57:30 +0100 Subject: Updating CONV3D_1X1X1 tests for FP16 and accumulator types Signed-off-by: Jeremy Johnson Change-Id: Iac87401af08d281390b1cc340bd4dd77d5046256 --- .../test.json | 182 +++++++++++++++++++++ 1 file changed, 182 insertions(+) create mode 100644 operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputType_1x10x7x13x9_i8xi4_acci32_st111_pad000000_dilat111/test.json (limited to 'operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputType_1x10x7x13x9_i8xi4_acci32_st111_pad000000_dilat111/test.json') diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputType_1x10x7x13x9_i8xi4_acci32_st111_pad000000_dilat111/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputType_1x10x7x13x9_i8xi4_acci32_st111_pad000000_dilat111/test.json new file mode 100644 index 000000000..1cde42690 --- /dev/null +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_ERRORIF_WrongOutputType_1x10x7x13x9_i8xi4_acci32_st111_pad000000_dilat111/test.json @@ -0,0 +1,182 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + 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, + 0, + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1, + 1 + ], + dilation: [ + 1, + 1, + 1 + ], + input_zp: 91, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 10, + 7, + 13, + 9 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 7, + 1, + 1, + 1, + 9 + ], + type: "INT4", + data: [ + 169, + 98, + 27, + 85, + 114, + 87, + 115, + 169, + 48, + 54, + 108, + 170, + 115, + 176, + 121, + 45, + 205, + 67, + 0, + 16, + 53, + 205, + 35, + 94, + 239, + 177, + 99, + 247, + 13, + 58, + 175, + 1 + ] + }, + { + name: "const-2", + shape: [ + 7 + ], + type: "INT32", + data: [ + 87, + 248, + 245, + 55, + 182, + 113, + 94, + 186, + 99, + 42, + 162, + 231, + 242, + 135, + 247, + 99, + 16, + 91, + 187, + 53, + 239, + 60, + 129, + 76, + 183, + 212, + 24, + 243 + ] + }, + { + name: "result-0", + shape: [ + 1, + 10, + 7, + 13, + 7 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1