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 | 134 +++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad0009_dilat21/test.json (limited to 'operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad0009_dilat21/test.json') diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad0009_dilat21/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad0009_dilat21/test.json new file mode 100644 index 000000000..c7cde4d80 --- /dev/null +++ b/operators/tensor/conv2d_1x1/conv2d_1x1_1x11x44x13_i16xi8_acci48_st12_pad0009_dilat21/test.json @@ -0,0 +1,134 @@ +{ + 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: [ + 0, + 0, + 0, + 9 + ], + stride: [ + 1, + 2 + ], + dilation: [ + 2, + 1 + ], + input_zp: 0, + weight_zp: 80, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 44, + 13 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 13 + ], + type: "INT8", + data: [ + 205, + 59, + 171, + 197, + 132, + 228, + 191, + 15, + 158, + 3, + 104, + 158, + 103 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT48", + data: [ + 236, + 54, + 120, + 171, + 225, + 86 + ] + }, + { + name: "result-0", + shape: [ + 1, + 11, + 27, + 1 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1