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 | 127 +++++++++++++++++++++ 1 file changed, 127 insertions(+) create mode 100644 operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad090009_dilat122/test.json (limited to 'operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad090009_dilat122/test.json') diff --git a/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad090009_dilat122/test.json b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad090009_dilat122/test.json new file mode 100644 index 000000000..1c02c8bcc --- /dev/null +++ b/operators/tensor/conv3d_1x1x1/conv3d_1x1x1_1x9x21x14x1_i8xi4_acci32_st112_pad090009_dilat122/test.json @@ -0,0 +1,127 @@ +{ + 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, + 9, + 0, + 0, + 0, + 9 + ], + stride: [ + 1, + 1, + 2 + ], + dilation: [ + 1, + 2, + 2 + ], + input_zp: 36, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 9, + 21, + 14, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 13 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 168, + 128, + 179, + 117 + ] + }, + { + name: "result-0", + shape: [ + 1, + 18, + 21, + 12, + 1 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1