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 | 259 +++++++++++++++++++++ 1 file changed, 259 insertions(+) create mode 100644 operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_PadSmallerZero_1x12x10x8_i8xi4_acci32_st11_pad-4-4-4-4_dilat11/test.json (limited to 'operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_PadSmallerZero_1x12x10x8_i8xi4_acci32_st11_pad-4-4-4-4_dilat11/test.json') diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_PadSmallerZero_1x12x10x8_i8xi4_acci32_st11_pad-4-4-4-4_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_PadSmallerZero_1x12x10x8_i8xi4_acci32_st11_pad-4-4-4-4_dilat11/test.json new file mode 100644 index 000000000..e17492cd4 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_PadSmallerZero_1x12x10x8_i8xi4_acci32_st11_pad-4-4-4-4_dilat11/test.json @@ -0,0 +1,259 @@ +{ + 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: [ + -4, + -4, + -4, + -4 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 49, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 12, + 10, + 8 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 8, + 4 + ], + type: "INT4", + data: [ + 84, + 110, + 66, + 68, + 87, + 31, + 82, + 222, + 116, + 182, + 70, + 155, + 108, + 20, + 242, + 182 + ] + }, + { + name: "const-2", + shape: [ + 32 + ], + type: "INT32", + data: [ + 196, + 59, + 85, + 208, + 127, + 254, + 89, + 179, + 82, + 228, + 23, + 89, + 27, + 211, + 64, + 10, + 63, + 239, + 11, + 47, + 232, + 156, + 95, + 107, + 187, + 108, + 9, + 178, + 60, + 176, + 228, + 118, + 89, + 239, + 97, + 160, + 57, + 34, + 25, + 65, + 168, + 177, + 229, + 51, + 198, + 168, + 78, + 83, + 6, + 239, + 144, + 168, + 219, + 101, + 188, + 117, + 223, + 37, + 89, + 75, + 30, + 154, + 82, + 156, + 210, + 199, + 157, + 14, + 222, + 182, + 56, + 81, + 181, + 245, + 19, + 250, + 83, + 28, + 131, + 225, + 38, + 18, + 137, + 198, + 56, + 104, + 20, + 4, + 14, + 78, + 221, + 123, + 39, + 46, + 134, + 27, + 155, + 241, + 223, + 56, + 103, + 212, + 149, + 71, + 222, + 45, + 47, + 71, + 85, + 222, + 131, + 230, + 70, + 61, + 202, + 68, + 31, + 222, + 250, + 211, + 124, + 11, + 130, + 21, + 119, + 144, + 109, + 205 + ] + }, + { + name: "result-0", + shape: [ + 1, + 4, + 2, + 32 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1