From 10bfb6b29336750bed3a6eb4426db9adce6886e1 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Fri, 17 Jun 2022 13:08:04 +0100 Subject: Updating DEPTHWISE_CONV2D_2X2 tests for v0.30.0 release Signed-off-by: Jeremy Johnson Change-Id: I07632b22be03410cb6b3700dcb70f670abca884d --- .../test.json | 194 +++++++++++++++++++++ 1 file changed, 194 insertions(+) create mode 100644 operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i16xi8_st21_pad0090_dilat21/test.json (limited to 'operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i16xi8_st21_pad0090_dilat21/test.json') diff --git a/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i16xi8_st21_pad0090_dilat21/test.json b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i16xi8_st21_pad0090_dilat21/test.json new file mode 100644 index 000000000..1f47928ce --- /dev/null +++ b/operators/tensor/depthwise_conv2d_2x2/depthwise_conv2d_2x2_1x11x33x4_i16xi8_st21_pad0090_dilat21/test.json @@ -0,0 +1,194 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + 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, + 9, + 0 + ], + stride: [ + 2, + 1 + ], + dilation: [ + 2, + 1 + ], + input_zp: 0, + weight_zp: 118 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 33, + 4 + ], + type: "INT16" + }, + { + name: "const-1", + shape: [ + 2, + 2, + 4, + 2 + ], + type: "INT8", + data: [ + 164, + 26, + 54, + 221, + 44, + 10, + 157, + 7, + 106, + 12, + 218, + 32, + 181, + 130, + 191, + 202, + 208, + 170, + 59, + 141, + 58, + 193, + 113, + 117, + 216, + 50, + 189, + 245, + 97, + 110, + 168, + 217 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "INT48", + data: [ + 109, + 194, + 206, + 86, + 235, + 47, + 25, + 60, + 108, + 157, + 23, + 143, + 60, + 83, + 7, + 187, + 197, + 121, + 5, + 133, + 236, + 197, + 7, + 187, + 178, + 24, + 154, + 68, + 233, + 134, + 83, + 158, + 205, + 107, + 78, + 106, + 74, + 220, + 81, + 192, + 252, + 59, + 231, + 87, + 200, + 225, + 94, + 91 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 41, + 8 + ], + type: "INT48" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1