From 31ca1d107e65ed12fa251c144c1b592d4b370066 Mon Sep 17 00:00:00 2001 From: Jeremy Johnson Date: Fri, 17 Jun 2022 13:07:33 +0100 Subject: Updating CONV2D_2X2 tests for v0.30.0 release Signed-off-by: Jeremy Johnson Change-Id: I61ef817dcff31c76bd7e06c65db348b4ef1d44d9 --- .../test.json | 120 +++++++++++++++++++++ 1 file changed, 120 insertions(+) create mode 100644 operators/tensor/conv2d_2x2/conv2d_2x2_1x5x65536x1_i8xi4_st11_pad1001_dilat11/test.json (limited to 'operators/tensor/conv2d_2x2/conv2d_2x2_1x5x65536x1_i8xi4_st11_pad1001_dilat11/test.json') diff --git a/operators/tensor/conv2d_2x2/conv2d_2x2_1x5x65536x1_i8xi4_st11_pad1001_dilat11/test.json b/operators/tensor/conv2d_2x2/conv2d_2x2_1x5x65536x1_i8xi4_st11_pad1001_dilat11/test.json new file mode 100644 index 000000000..fec1e1df9 --- /dev/null +++ b/operators/tensor/conv2d_2x2/conv2d_2x2_1x5x65536x1_i8xi4_st11_pad1001_dilat11/test.json @@ -0,0 +1,120 @@ +{ + 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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 1, + 0, + 0, + 1 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 83, + weight_zp: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 5, + 65536, + 1 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 2, + 2, + 1 + ], + type: "INT4", + data: [ + 89, + 110 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 129, + 20, + 239, + 143 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 65536, + 1 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} -- cgit v1.2.1