From ab4bb694c6df1a837be89d0271fb21377a086658 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Thu, 13 Oct 2022 13:54:26 +0100 Subject: Updating CONV2D_1X1 tests for FP16 and accumulator types Signed-off-by: Jeremy Johnson Change-Id: Id1fb1687ffc4de1b92336ffbf65087c0d1ebf905 --- .../test.json | 120 +++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi4_acci32_st81_pad1110_dilat71/test.json (limited to 'operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi4_acci32_st81_pad1110_dilat71/test.json') diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi4_acci32_st81_pad1110_dilat71/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi4_acci32_st81_pad1110_dilat71/test.json new file mode 100644 index 000000000..b160fe71e --- /dev/null +++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x65535x4x1_i8xi4_acci32_st81_pad1110_dilat71/test.json @@ -0,0 +1,120 @@ +{ + 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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 1, + 1, + 0 + ], + stride: [ + 8, + 1 + ], + dilation: [ + 7, + 1 + ], + input_zp: -3, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 65535, + 4, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 1 + ], + type: "INT4", + data: [ + 13 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 42, + 235, + 231, + 49 + ] + }, + { + name: "result-0", + shape: [ + 1, + 8193, + 5, + 1 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1