From 1d38be721ba973a64bf4ea54d1d4c17c6038625e Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Thu, 13 Oct 2022 13:58:06 +0100 Subject: Updating DEPTHWISE_CONV2D_1X1 tests for FP16 and accumulator types Signed-off-by: Jeremy Johnson Change-Id: I26e9584a440eafcfb300c11f2cb69081aa33b9bb --- .../test.json | 129 +++++++++++++++++++++ 1 file changed, 129 insertions(+) create mode 100644 operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json (limited to 'operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json') diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json new file mode 100644 index 000000000..767b26f45 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_InputZeroPointNotZero_1x14x6x2_i16xi8_acci48_st11_pad0000_dilat11/test.json @@ -0,0 +1,129 @@ +{ + 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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: -36, + weight_zp: 113, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 14, + 6, + 2 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 2, + 1 + ], + type: "INT8", + data: [ + 142, + 158 + ] + }, + { + name: "const-2", + shape: [ + 2 + ], + type: "INT48", + data: [ + 189, + 87, + 137, + 179, + 164, + 162, + 128, + 126, + 240, + 152, + 168, + 250 + ] + }, + { + name: "result-0", + shape: [ + 1, + 14, + 6, + 2 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1