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 | 396 +++++++++++++++++++++ 1 file changed, 396 insertions(+) create mode 100644 operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongRank_1x11x10x10x6_i16xi8_acci48_st11_pad0000_dilat11/test.json (limited to 'operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongRank_1x11x10x10x6_i16xi8_acci48_st11_pad0000_dilat11/test.json') diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongRank_1x11x10x10x6_i16xi8_acci48_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongRank_1x11x10x10x6_i16xi8_acci48_st11_pad0000_dilat11/test.json new file mode 100644 index 000000000..3f82c5406 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongRank_1x11x10x10x6_i16xi8_acci48_st11_pad0000_dilat11/test.json @@ -0,0 +1,396 @@ +{ + 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: 0, + weight_zp: -50, + accum_dtype: "INT48" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 10, + 10, + 6 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 10, + 4 + ], + type: "INT8", + data: [ + 138, + 97, + 123, + 169, + 35, + 65, + 139, + 83, + 228, + 204, + 194, + 1, + 76, + 82, + 185, + 83, + 83, + 143, + 207, + 131, + 125, + 248, + 197, + 100, + 47, + 112, + 76, + 116, + 183, + 180, + 147, + 215, + 13, + 16, + 45, + 59, + 81, + 5, + 197, + 240 + ] + }, + { + name: "const-2", + shape: [ + 40 + ], + type: "INT48", + data: [ + 226, + 208, + 223, + 174, + 111, + 106, + 74, + 138, + 59, + 204, + 120, + 71, + 194, + 105, + 253, + 221, + 241, + 129, + 105, + 190, + 88, + 208, + 83, + 150, + 158, + 162, + 24, + 183, + 107, + 127, + 142, + 6, + 199, + 15, + 228, + 59, + 64, + 222, + 173, + 106, + 117, + 32, + 162, + 176, + 26, + 169, + 191, + 102, + 246, + 198, + 108, + 241, + 37, + 138, + 46, + 198, + 253, + 131, + 227, + 65, + 103, + 58, + 0, + 243, + 152, + 39, + 133, + 215, + 26, + 0, + 37, + 89, + 244, + 222, + 90, + 187, + 36, + 71, + 65, + 31, + 182, + 109, + 36, + 252, + 170, + 59, + 16, + 253, + 42, + 146, + 113, + 67, + 19, + 138, + 206, + 104, + 23, + 153, + 24, + 226, + 116, + 67, + 184, + 128, + 194, + 197, + 60, + 219, + 155, + 123, + 187, + 184, + 226, + 123, + 115, + 73, + 207, + 201, + 164, + 207, + 225, + 216, + 110, + 15, + 221, + 222, + 102, + 231, + 186, + 88, + 132, + 121, + 231, + 16, + 218, + 83, + 9, + 43, + 27, + 24, + 217, + 234, + 18, + 97, + 127, + 29, + 19, + 219, + 67, + 99, + 243, + 196, + 154, + 173, + 84, + 9, + 56, + 53, + 255, + 239, + 87, + 196, + 99, + 110, + 64, + 54, + 242, + 88, + 206, + 229, + 30, + 180, + 123, + 0, + 156, + 59, + 62, + 79, + 121, + 16, + 230, + 212, + 65, + 23, + 151, + 10, + 248, + 227, + 245, + 92, + 116, + 130, + 125, + 128, + 225, + 19, + 190, + 139, + 155, + 156, + 249, + 92, + 203, + 29, + 244, + 79, + 42, + 63, + 96, + 75, + 132, + 243, + 11, + 123, + 0, + 245, + 90, + 111, + 35, + 153, + 190, + 176, + 54, + 7, + 11, + 66, + 25, + 232, + 5, + 113, + 47, + 218, + 176, + 68, + 177, + 220, + 121, + 156, + 206, + 155 + ] + }, + { + name: "result-0", + shape: [ + 1, + 11, + 10, + 40 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1