diff options
Diffstat (limited to 'operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x11x8x7_i8xi8_acci32_st11_pad0000_dilat11')
3 files changed, 991 insertions, 0 deletions
diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x11x8x7_i8xi8_acci32_st11_pad0000_dilat11/desc.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x11x8x7_i8xi8_acci32_st11_pad0000_dilat11/desc.json new file mode 100644 index 000000000..7780bdd73 --- /dev/null +++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x11x8x7_i8xi8_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_1x11x8x7_i8xi8_acci32_st11_pad0000_dilat11/input-0.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x11x8x7_i8xi8_acci32_st11_pad0000_dilat11/input-0.json new file mode 100644 index 000000000..20981e40b --- /dev/null +++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x11x8x7_i8xi8_acci32_st11_pad0000_dilat11/input-0.json @@ -0,0 +1,821 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + 83, + -82, + -63, + 14, + 42, + -125, + 20 + ], + [ + -88, + 116, + -33, + -3, + 31, + -88, + -86 + ], + [ + 117, + 19, + -70, + 41, + 100, + 67, + -26 + ], + [ + 41, + 101, + -64, + 74, + 127, + -40, + 99 + ], + [ + -123, + -33, + -58, + -121, + 26, + 7, + -31 + ], + [ + 93, + -65, + 82, + 34, + 101, + -127, + 120 + ], + [ + -128, + 54, + 64, + -87, + -119, + -119, + -95 + ], + [ + -90, + 119, + -77, + 78, + -113, + 39, + -12 + ] + ], + [ + [ + 10, + 72, + -75, + -127, + -72, + 77, + 23 + ], + [ + 108, + 85, + -90, + -114, + -123, + -80, + -6 + ], + [ + -124, + 94, + -6, + 60, + 95, + -120, + -17 + ], + [ + 44, + 127, + 81, + -73, + -59, + 76, + 39 + ], + [ + -65, + -2, + 109, + -76, + -44, + 102, + 44 + ], + [ + -71, + -55, + 87, + -57, + 51, + -2, + -72 + ], + [ + -34, + 54, + 77, + -122, + 103, + -68, + 38 + ], + [ + -55, + -60, + 99, + 51, + 106, + -123, + -59 + ] + ], + [ + [ + -116, + -7, + -10, + 123, + -69, + 42, + 126 + ], + [ + -111, + -15, + -28, + -122, + -21, + -64, + -50 + ], + [ + -74, + 5, + -26, + 60, + -38, + 49, + 7 + ], + [ + -39, + 82, + 60, + 6, + 8, + 67, + 68 + ], + [ + 54, + -99, + -70, + -25, + 19, + -27, + 84 + ], + [ + -38, + 11, + 50, + -32, + 14, + 58, + -30 + ], + [ + 120, + 9, + 73, + 52, + 80, + 44, + 9 + ], + [ + 66, + -9, + 89, + 0, + 61, + -76, + -82 + ] + ], + [ + [ + 16, + 88, + 59, + -44, + 91, + 42, + 14 + ], + [ + 125, + 71, + -53, + -112, + -59, + -83, + -82 + ], + [ + 5, + 123, + 38, + -19, + -65, + 72, + 12 + ], + [ + -116, + -9, + -82, + -1, + -112, + -74, + 80 + ], + [ + -85, + -101, + -72, + 108, + 114, + 41, + 71 + ], + [ + 104, + -53, + -24, + -121, + 6, + 109, + -121 + ], + [ + 54, + -9, + 119, + 23, + -25, + -103, + 15 + ], + [ + 123, + -125, + -127, + 99, + -60, + 27, + 29 + ] + ], + [ + [ + -6, + -1, + 48, + -67, + -82, + 124, + -126 + ], + [ + -80, + 58, + 17, + -46, + -99, + -35, + -114 + ], + [ + 13, + -4, + 107, + 78, + -8, + 8, + 48 + ], + [ + -53, + 25, + -124, + 112, + 112, + 99, + -74 + ], + [ + 73, + 19, + 123, + -125, + -27, + -104, + 114 + ], + [ + -85, + -119, + -100, + 119, + 7, + -101, + -27 + ], + [ + -20, + 77, + -72, + -99, + 63, + -18, + -97 + ], + [ + -19, + -19, + -69, + -77, + -104, + 87, + -126 + ] + ], + [ + [ + 2, + -124, + 77, + -26, + 123, + -115, + -44 + ], + [ + -27, + -111, + -17, + -11, + -14, + 8, + -79 + ], + [ + -67, + -1, + 36, + -28, + -12, + 125, + 37 + ], + [ + -117, + -36, + -115, + 96, + 83, + -9, + -60 + ], + [ + 56, + -81, + 69, + 95, + -82, + 8, + -89 + ], + [ + 29, + 44, + -126, + 113, + -62, + -10, + -62 + ], + [ + 103, + 66, + 125, + -30, + 16, + 19, + -70 + ], + [ + 110, + 93, + 124, + -11, + -96, + -88, + 14 + ] + ], + [ + [ + 81, + 50, + 59, + 72, + 87, + 107, + -36 + ], + [ + 58, + -57, + 48, + -114, + -115, + -77, + 11 + ], + [ + 105, + 25, + 15, + 50, + 98, + 21, + 60 + ], + [ + -24, + 126, + -4, + 100, + 119, + 97, + -44 + ], + [ + -33, + 72, + 109, + 27, + 70, + -15, + 91 + ], + [ + -22, + 31, + 9, + 86, + 76, + 86, + -97 + ], + [ + -66, + 105, + -95, + 70, + 34, + -39, + -119 + ], + [ + -126, + 100, + -102, + 62, + -92, + -27, + -102 + ] + ], + [ + [ + 35, + -102, + 32, + 117, + 61, + 40, + 103 + ], + [ + 82, + 59, + 16, + -29, + 30, + -101, + 97 + ], + [ + 98, + -61, + 65, + 49, + 90, + 102, + 62 + ], + [ + 111, + -45, + -15, + -90, + 91, + -57, + 0 + ], + [ + -87, + -62, + 44, + -64, + 3, + -13, + 29 + ], + [ + -62, + -4, + -121, + 4, + -101, + 58, + 89 + ], + [ + -26, + 97, + -28, + 95, + 5, + 13, + -24 + ], + [ + 111, + 52, + -1, + 75, + -10, + 96, + -7 + ] + ], + [ + [ + 79, + -63, + 16, + 29, + 7, + -14, + -128 + ], + [ + 121, + -73, + -84, + 79, + -109, + 67, + -39 + ], + [ + 56, + -73, + 51, + 125, + 1, + 14, + 28 + ], + [ + -36, + 13, + 36, + -122, + -13, + 6, + -75 + ], + [ + -8, + -28, + 13, + -55, + 101, + 35, + 32 + ], + [ + 81, + -123, + -61, + -82, + 31, + -41, + 53 + ], + [ + 113, + -34, + -44, + -4, + -3, + -37, + -40 + ], + [ + -33, + -4, + -14, + -12, + -53, + 34, + -3 + ] + ], + [ + [ + -70, + 64, + 97, + -28, + 5, + 114, + -48 + ], + [ + -73, + -40, + -13, + -15, + 26, + -58, + 11 + ], + [ + -101, + 114, + -53, + -45, + -87, + -32, + 121 + ], + [ + 24, + 42, + 24, + -43, + 73, + -41, + 75 + ], + [ + 124, + -126, + -86, + 67, + -97, + 55, + -65 + ], + [ + 21, + 38, + -47, + 91, + 104, + -73, + 60 + ], + [ + 44, + -63, + 80, + -50, + -63, + 53, + -98 + ], + [ + 106, + -30, + -3, + 45, + 97, + 69, + -31 + ] + ], + [ + [ + 63, + -27, + 4, + 47, + 12, + -116, + -117 + ], + [ + -93, + -107, + 58, + -79, + -67, + -48, + -84 + ], + [ + 94, + -106, + -79, + -71, + -107, + -64, + -81 + ], + [ + -41, + -89, + 112, + 73, + 37, + 23, + 49 + ], + [ + 112, + -95, + 8, + -79, + -13, + 102, + 33 + ], + [ + 34, + -104, + 79, + 54, + -37, + -43, + 19 + ], + [ + 66, + 0, + 91, + -76, + 48, + 83, + 52 + ], + [ + -43, + -10, + -9, + -49, + -94, + -81, + 35 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x11x8x7_i8xi8_acci32_st11_pad0000_dilat11/test.json b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x11x8x7_i8xi8_acci32_st11_pad0000_dilat11/test.json new file mode 100644 index 000000000..aaea00077 --- /dev/null +++ b/operators/tensor/conv2d_1x1/conv2d_1x1_ERRORIF_ConvOutputShapeMismatch_1x11x8x7_i8xi8_acci32_st11_pad0000_dilat11/test.json @@ -0,0 +1,148 @@ +{ + 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: 27, + weight_zp: -111, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 11, + 8, + 7 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 3, + 1, + 1, + 7 + ], + type: "INT8", + data: [ + 185, + 74, + 74, + 233, + 221, + 122, + 131, + 193, + 48, + 95, + 245, + 56, + 183, + 109, + 21, + 61, + 173, + 254, + 58, + 233, + 117 + ] + }, + { + name: "const-2", + shape: [ + 3 + ], + type: "INT32", + data: [ + 86, + 134, + 83, + 84, + 22, + 108, + 3, + 161, + 128, + 15, + 34, + 87 + ] + }, + { + name: "result-0", + shape: [ + 1, + 11, + 10, + 3 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |