diff options
Diffstat (limited to 'operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11')
3 files changed, 507 insertions, 0 deletions
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/desc.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/desc.json new file mode 100644 index 000000000..7780bdd73 --- /dev/null +++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/desc.json @@ -0,0 +1,22 @@ +{ + "tosa_file": "test.json", + "ifm_name": [ + "input-0" + ], + "ifm_file": [ + "input-0.npy" + ], + "ofm_name": [ + "result-0" + ], + "ofm_file": [ + "result-0.npy" + ], + "expected_return_code": 2, + "expected_failure": true, + "expected_failure_desc": "Mismatch between output shape provided and expected output shape", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/input-0.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/input-0.json new file mode 100644 index 000000000..a0797f6fb --- /dev/null +++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/input-0.json @@ -0,0 +1,275 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + 20, + 30, + 85, + -60, + 53, + -78, + -67, + -2, + 6, + 37, + -93 + ], + [ + 81, + 14, + 23, + 63, + 49, + -19, + -5, + -69, + 17, + -77, + 34 + ], + [ + -22, + -68, + -7, + 111, + 15, + -40, + -13, + 26, + -89, + 15, + -120 + ], + [ + 90, + 28, + -99, + -9, + 98, + 119, + -93, + -59, + -92, + -34, + 92 + ], + [ + 52, + -63, + -45, + 28, + 24, + -10, + -21, + 111, + 0, + 72, + 117 + ] + ], + [ + [ + -43, + 71, + 80, + -72, + -71, + -87, + 29, + 66, + 64, + -29, + 52 + ], + [ + -121, + 40, + -7, + 84, + 119, + 14, + 31, + 109, + -41, + -91, + 1 + ], + [ + -37, + 34, + 72, + 1, + -50, + 16, + -15, + -81, + 69, + -43, + 9 + ], + [ + 104, + -80, + -19, + -84, + -17, + -51, + 106, + -51, + 29, + -94, + -12 + ], + [ + 85, + 44, + -56, + 120, + 77, + -25, + 121, + -81, + -44, + 110, + 120 + ] + ], + [ + [ + 82, + -80, + -73, + 37, + -114, + 125, + 113, + 78, + 119, + -70, + 97 + ], + [ + -63, + -97, + -61, + 70, + 113, + 28, + -66, + 25, + 2, + 4, + -39 + ], + [ + -93, + -36, + 99, + -24, + -123, + -40, + -10, + 25, + 36, + -20, + -92 + ], + [ + -16, + -128, + 1, + -15, + -37, + 41, + 65, + -61, + 0, + 2, + 2 + ], + [ + -25, + -75, + -85, + -121, + -115, + 79, + -111, + 91, + 101, + -67, + -15 + ] + ], + [ + [ + -36, + -28, + -37, + -41, + 47, + -23, + -81, + -32, + 122, + 124, + -113 + ], + [ + 19, + 121, + -79, + -111, + -74, + -47, + 111, + -64, + -44, + -62, + -28 + ], + [ + 126, + -107, + -11, + 29, + -98, + -117, + 123, + -60, + -66, + -39, + -110 + ], + [ + -91, + -122, + 8, + -10, + -58, + 107, + -50, + -124, + -103, + 57, + 8 + ], + [ + -62, + -65, + -72, + -20, + 52, + 35, + 63, + -118, + 15, + 67, + -77 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/test.json new file mode 100644 index 000000000..0fce87435 --- /dev/null +++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x4x5x11_i8xi4_acci32_st11_pad0000_dilat11/test.json @@ -0,0 +1,210 @@ +{ + 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: "CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + 1, + 1 + ], + input_zp: 11, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 4, + 5, + 11 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 10, + 1, + 1, + 11 + ], + type: "INT4", + data: [ + 145, + 70, + 18, + 243, + 199, + 69, + 165, + 47, + 50, + 194, + 5, + 7, + 17, + 102, + 17, + 169, + 228, + 47, + 220, + 73, + 176, + 177, + 196, + 109, + 52, + 2, + 219, + 103, + 99, + 229, + 67, + 107, + 208, + 208, + 29, + 247, + 76, + 29, + 204, + 236, + 55, + 147, + 233, + 150, + 84, + 173, + 171, + 69, + 163, + 55, + 229, + 91, + 185, + 171, + 193 + ] + }, + { + name: "const-2", + shape: [ + 10 + ], + type: "INT32", + data: [ + 5, + 11, + 83, + 119, + 209, + 102, + 160, + 110, + 243, + 148, + 30, + 171, + 168, + 69, + 65, + 84, + 11, + 173, + 1, + 138, + 99, + 91, + 41, + 201, + 126, + 124, + 237, + 40, + 119, + 229, + 195, + 180, + 36, + 234, + 247, + 147, + 59, + 202, + 38, + 168 + ] + }, + { + name: "result-0", + shape: [ + 1, + 4, + 6, + 10 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |