diff options
Diffstat (limited to 'operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_os1x-43x-15x1')
3 files changed, 899 insertions, 0 deletions
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_os1x-43x-15x1/desc.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_os1x-43x-15x1/desc.json new file mode 100644 index 000000000..a2f5e4ee2 --- /dev/null +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_os1x-43x-15x1/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": "At least one stride dimension is smaller than zero", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_os1x-43x-15x1/input-0.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_os1x-43x-15x1/input-0.json new file mode 100644 index 000000000..6dce71da8 --- /dev/null +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_os1x-43x-15x1/input-0.json @@ -0,0 +1,751 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + -77, + 50, + -112, + 56, + 80, + -64, + -44, + -17, + 20, + 7 + ], + [ + -102, + -32, + 1, + 29, + 33, + 42, + -13, + 0, + -42, + -59 + ], + [ + -49, + -16, + -100, + -73, + -99, + -24, + -2, + -87, + -93, + 6 + ], + [ + -71, + 94, + -86, + -5, + 77, + -102, + -13, + -8, + 13, + 98 + ], + [ + 21, + -32, + -27, + 31, + -52, + 47, + -31, + -113, + 8, + -64 + ] + ], + [ + [ + -37, + -46, + -94, + -54, + 105, + -47, + 59, + -24, + -112, + 86 + ], + [ + 103, + -68, + -85, + 110, + -103, + 99, + -84, + 93, + 110, + -67 + ], + [ + -72, + -101, + 73, + -39, + 36, + 29, + 4, + -66, + -35, + 0 + ], + [ + -105, + -25, + 53, + -21, + -27, + 87, + 8, + 60, + -115, + 109 + ], + [ + 70, + 83, + 49, + 9, + 7, + 31, + -1, + 58, + -42, + 68 + ] + ], + [ + [ + -41, + -7, + -111, + 102, + 47, + -65, + -117, + 90, + -128, + -5 + ], + [ + -121, + 49, + -76, + -19, + 17, + -34, + 46, + 2, + -21, + -46 + ], + [ + -24, + -46, + 19, + 67, + 24, + -120, + 88, + 73, + 81, + -116 + ], + [ + 82, + -9, + 88, + 72, + 97, + -97, + 14, + 58, + 24, + 79 + ], + [ + 58, + -119, + -78, + 34, + -36, + -37, + 105, + -106, + 5, + -49 + ] + ], + [ + [ + -115, + -33, + -25, + -12, + -87, + 58, + -37, + 18, + 11, + 16 + ], + [ + 1, + -51, + -3, + 7, + -124, + 57, + -15, + -54, + -121, + -50 + ], + [ + -25, + 86, + 37, + -21, + -96, + -58, + 106, + -96, + 33, + 4 + ], + [ + -73, + 95, + -28, + 41, + -104, + 119, + -123, + -49, + 106, + 35 + ], + [ + 44, + -48, + 71, + 110, + 31, + -73, + 104, + -127, + 101, + -126 + ] + ], + [ + [ + -114, + -118, + -80, + 58, + -27, + -108, + -41, + 127, + 6, + 58 + ], + [ + -60, + 5, + 76, + 44, + -127, + 27, + 74, + -94, + -28, + 37 + ], + [ + -127, + 53, + 88, + 6, + -14, + -105, + 57, + 113, + 96, + 12 + ], + [ + -120, + -55, + -61, + -127, + -98, + 19, + -103, + -119, + 114, + 26 + ], + [ + 78, + -65, + -35, + 28, + 47, + -34, + 107, + 52, + -72, + -103 + ] + ], + [ + [ + -125, + 88, + 82, + -6, + 57, + 98, + -87, + 123, + -3, + -16 + ], + [ + -87, + 44, + 26, + -121, + 37, + -92, + -58, + 28, + 71, + -94 + ], + [ + -7, + -56, + 52, + 84, + 35, + 75, + -13, + 25, + -54, + 125 + ], + [ + -76, + 107, + 62, + 124, + 36, + -38, + -57, + -83, + 119, + -101 + ], + [ + 79, + 50, + -96, + 106, + -87, + -87, + 11, + -102, + -102, + 31 + ] + ], + [ + [ + 118, + -115, + 35, + 26, + -112, + -90, + -15, + 49, + -72, + -17 + ], + [ + -3, + 54, + -65, + 48, + 84, + 21, + 56, + -86, + 104, + -51 + ], + [ + -78, + 12, + -30, + -10, + 78, + 9, + -33, + 76, + -31, + 117 + ], + [ + 124, + -8, + 69, + 53, + 92, + -10, + -24, + -58, + 21, + 29 + ], + [ + -13, + -49, + -13, + 0, + -96, + 40, + 87, + -46, + -29, + -105 + ] + ], + [ + [ + 20, + -19, + 91, + 104, + 70, + -75, + -78, + -4, + 30, + -120 + ], + [ + -2, + -106, + -62, + -37, + -118, + -61, + 33, + 127, + 71, + -50 + ], + [ + 113, + -16, + -38, + 88, + -26, + 61, + -87, + -43, + 124, + -66 + ], + [ + 89, + -9, + 117, + -22, + -2, + -27, + -75, + 88, + 18, + 1 + ], + [ + -33, + 69, + -39, + -68, + -107, + 95, + -110, + 88, + -32, + -128 + ] + ], + [ + [ + 109, + 61, + 57, + 12, + 66, + -94, + -69, + 11, + 60, + 22 + ], + [ + -24, + 44, + -113, + 2, + -27, + -1, + -95, + 103, + 90, + 113 + ], + [ + 87, + 42, + -55, + -99, + 28, + 114, + -35, + 126, + -89, + -56 + ], + [ + 38, + -2, + 66, + -40, + 70, + -51, + -90, + 17, + 3, + 17 + ], + [ + -122, + -23, + -105, + 78, + -108, + 110, + -114, + 28, + -43, + -100 + ] + ], + [ + [ + -37, + -118, + 50, + 94, + -44, + -16, + -93, + -5, + 114, + 9 + ], + [ + 96, + 71, + -97, + -115, + -36, + 112, + -85, + -117, + 117, + -78 + ], + [ + -37, + 71, + -103, + -85, + 58, + -127, + 54, + 10, + -67, + 29 + ], + [ + -46, + 114, + -22, + 63, + -60, + 85, + -55, + 2, + 77, + 109 + ], + [ + 64, + 42, + 49, + -25, + 47, + 19, + 5, + -48, + -39, + -97 + ] + ], + [ + [ + 56, + -123, + -99, + -54, + -92, + 63, + -96, + -12, + 59, + 22 + ], + [ + 23, + -40, + -13, + 68, + -7, + 51, + 83, + -66, + -97, + -10 + ], + [ + -30, + -90, + 66, + 31, + 40, + 53, + -17, + 2, + -71, + 59 + ], + [ + 114, + 95, + -24, + -116, + 96, + 19, + 71, + -51, + 92, + 86 + ], + [ + -124, + 16, + -6, + 40, + -62, + -103, + -58, + 6, + -59, + -10 + ] + ], + [ + [ + -29, + 49, + -23, + -92, + 34, + -74, + -52, + 52, + -59, + -113 + ], + [ + -36, + -29, + 47, + 53, + -128, + 65, + 63, + -84, + -42, + 68 + ], + [ + 19, + -42, + 66, + 33, + 2, + -127, + 37, + -82, + 107, + -80 + ], + [ + -121, + -32, + -39, + -38, + 109, + -58, + 86, + -87, + 29, + -95 + ], + [ + -70, + -91, + -44, + -11, + 91, + 65, + 50, + -3, + -55, + -53 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_os1x-43x-15x1/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_os1x-43x-15x1/test.json new file mode 100644 index 000000000..02b539835 --- /dev/null +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_StrideSmallerOne_1x12x5x10_i8xi4_acci32_st-4-4_pad0000_os1x-43x-15x1/test.json @@ -0,0 +1,126 @@ +{ + 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: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + -4, + -4 + ], + output_shape: [ + 1, + -43, + -15, + 1 + ], + input_zp: 56, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 12, + 5, + 10 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 1, + 10 + ], + type: "INT4", + data: [ + 42, + 20, + 225, + 103, + 79 + ] + }, + { + name: "const-2", + shape: [ + 1 + ], + type: "INT32", + data: [ + 194, + 212, + 89, + 217 + ] + }, + { + name: "result-0", + shape: [ + 1, + -43, + -15, + 1 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |