diff options
Diffstat (limited to 'operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x5x7x15_i8xi4_acci32_st11_pad0000_dilat-5-5')
3 files changed, 884 insertions, 0 deletions
diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x5x7x15_i8xi4_acci32_st11_pad0000_dilat-5-5/desc.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x5x7x15_i8xi4_acci32_st11_pad0000_dilat-5-5/desc.json new file mode 100644 index 000000000..fd1ffb876 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x5x7x15_i8xi4_acci32_st11_pad0000_dilat-5-5/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 dilation is smaller than one", + "profile": [ + "tosa-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x5x7x15_i8xi4_acci32_st11_pad0000_dilat-5-5/input-0.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x5x7x15_i8xi4_acci32_st11_pad0000_dilat-5-5/input-0.json new file mode 100644 index 000000000..4f31ac44c --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x5x7x15_i8xi4_acci32_st11_pad0000_dilat-5-5/input-0.json @@ -0,0 +1,612 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + 11, + 29, + 48, + 44, + 61, + -120, + -19, + 86, + -16, + -91, + 42, + -51, + 2, + 4, + 50 + ], + [ + 110, + 49, + 127, + -124, + 72, + -22, + 58, + -107, + 7, + -121, + 42, + -73, + -92, + -108, + -60 + ], + [ + 117, + 124, + -108, + 122, + 22, + -46, + 113, + -67, + -82, + -70, + -91, + -4, + -93, + -71, + -33 + ], + [ + 38, + 91, + -109, + 33, + -102, + 125, + -58, + 91, + 71, + -45, + -46, + -47, + -8, + -15, + 40 + ], + [ + -10, + 73, + -9, + -50, + -45, + 59, + -93, + -55, + -49, + 36, + -95, + -13, + 44, + 109, + -16 + ], + [ + 123, + 27, + 70, + -66, + 106, + -62, + -94, + -108, + 39, + 32, + -78, + 96, + -58, + 28, + 5 + ], + [ + 23, + 61, + 109, + 56, + 104, + 94, + -37, + 15, + -78, + 109, + 119, + 99, + 62, + 89, + 75 + ] + ], + [ + [ + -70, + -61, + 8, + -21, + 60, + 60, + 121, + 73, + -126, + -41, + -45, + 34, + -41, + 122, + -55 + ], + [ + -16, + 81, + -35, + -117, + -43, + -36, + 28, + 54, + 12, + -24, + 0, + -92, + -82, + 28, + 93 + ], + [ + 5, + -113, + 123, + -46, + 63, + 101, + 124, + -99, + -81, + 37, + 66, + 85, + 13, + -88, + 54 + ], + [ + 43, + -9, + 35, + -74, + 79, + -117, + 86, + 86, + 47, + 80, + 105, + -87, + 11, + 37, + 113 + ], + [ + 60, + 24, + 14, + -92, + -47, + -18, + 97, + 92, + 36, + -101, + 56, + -11, + 38, + -18, + 56 + ], + [ + -73, + -91, + -72, + 108, + -109, + -55, + -41, + 86, + -37, + 100, + 124, + 38, + -41, + 25, + 43 + ], + [ + -101, + 85, + -17, + 88, + 28, + 92, + -108, + -118, + -100, + 95, + 126, + 127, + -43, + -61, + -39 + ] + ], + [ + [ + 81, + -64, + 12, + 37, + -36, + -7, + 42, + 74, + -80, + 3, + -89, + -125, + 37, + -5, + -62 + ], + [ + -114, + 114, + 83, + 111, + -99, + -125, + -73, + -103, + -11, + 37, + -79, + -27, + 10, + -47, + -11 + ], + [ + 23, + 115, + -49, + -106, + 94, + 19, + -8, + 56, + 123, + -96, + 92, + 34, + 21, + 93, + -51 + ], + [ + 73, + 18, + 111, + -9, + 56, + -1, + -28, + -32, + 107, + 86, + -71, + 93, + 21, + -102, + 68 + ], + [ + -87, + 95, + -12, + 106, + -5, + -107, + 68, + 57, + -51, + -76, + 93, + 71, + -52, + 51, + -67 + ], + [ + -82, + 41, + 85, + 107, + -10, + -92, + 11, + 46, + 120, + -100, + 40, + 3, + 22, + -105, + -124 + ], + [ + 27, + -78, + 29, + -122, + 77, + -43, + -13, + -40, + -21, + 7, + 37, + 48, + 125, + -83, + 95 + ] + ], + [ + [ + 26, + -49, + 106, + 52, + -81, + -84, + 40, + 58, + -117, + 32, + 7, + 120, + 61, + 104, + -120 + ], + [ + 67, + -43, + 13, + 96, + 94, + -71, + -67, + 57, + 96, + 28, + -115, + -87, + 63, + 61, + 101 + ], + [ + 8, + -19, + -100, + 72, + 115, + -117, + -3, + -38, + 62, + 67, + -73, + 115, + -93, + 71, + 61 + ], + [ + -87, + 44, + -59, + -58, + -106, + 63, + 78, + 1, + 70, + -39, + 16, + 73, + -18, + 29, + -91 + ], + [ + 1, + 89, + 69, + -52, + 11, + 30, + 112, + 84, + 81, + 64, + -37, + -32, + -9, + -19, + 117 + ], + [ + 96, + 101, + 27, + -80, + -92, + -58, + 38, + -35, + 39, + 97, + -43, + 109, + 3, + 77, + -113 + ], + [ + -58, + 110, + 99, + 18, + -120, + -113, + -20, + 101, + -32, + 98, + 9, + -94, + 15, + -35, + -71 + ] + ], + [ + [ + 44, + -76, + 103, + 77, + 72, + -109, + 117, + -2, + 59, + -79, + 68, + -47, + 53, + -58, + 110 + ], + [ + 53, + -13, + -12, + -128, + -52, + 74, + 84, + 127, + -107, + -64, + 68, + -36, + -65, + -56, + 107 + ], + [ + 91, + -127, + 87, + 14, + 88, + 31, + 48, + 19, + 60, + 80, + 2, + -100, + -105, + -22, + -7 + ], + [ + 93, + -120, + 99, + -114, + -1, + -20, + 14, + -118, + 67, + -94, + 71, + 17, + 99, + 122, + 88 + ], + [ + -13, + -22, + 41, + 38, + 74, + -5, + -10, + -98, + -85, + 82, + 125, + 26, + -40, + -114, + -117 + ], + [ + 45, + 36, + -56, + -80, + -111, + 46, + 27, + -43, + 59, + 88, + 4, + -61, + -127, + 75, + 19 + ], + [ + -40, + -127, + 80, + 109, + -5, + -60, + 30, + 94, + 22, + -125, + -79, + -104, + -23, + -13, + 9 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x5x7x15_i8xi4_acci32_st11_pad0000_dilat-5-5/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x5x7x15_i8xi4_acci32_st11_pad0000_dilat-5-5/test.json new file mode 100644 index 000000000..485dc5973 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x5x7x15_i8xi4_acci32_st11_pad0000_dilat-5-5/test.json @@ -0,0 +1,250 @@ +{ + 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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + -5, + -5 + ], + input_zp: -89, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 5, + 7, + 15 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 15, + 2 + ], + type: "INT4", + data: [ + 164, + 199, + 192, + 94, + 9, + 17, + 238, + 198, + 224, + 84, + 165, + 234, + 159, + 102, + 79 + ] + }, + { + name: "const-2", + shape: [ + 30 + ], + type: "INT32", + data: [ + 96, + 243, + 173, + 16, + 42, + 254, + 52, + 40, + 131, + 189, + 131, + 95, + 15, + 88, + 141, + 151, + 216, + 64, + 139, + 187, + 199, + 73, + 150, + 237, + 201, + 77, + 3, + 101, + 40, + 133, + 135, + 23, + 148, + 167, + 163, + 229, + 127, + 40, + 89, + 135, + 64, + 8, + 209, + 23, + 205, + 182, + 5, + 197, + 63, + 101, + 250, + 211, + 241, + 163, + 243, + 126, + 56, + 70, + 241, + 6, + 176, + 229, + 132, + 163, + 144, + 254, + 157, + 140, + 156, + 233, + 100, + 227, + 179, + 224, + 180, + 144, + 236, + 208, + 192, + 237, + 91, + 69, + 43, + 234, + 103, + 243, + 39, + 97, + 196, + 104, + 191, + 213, + 38, + 200, + 182, + 198, + 54, + 136, + 164, + 29, + 165, + 116, + 152, + 35, + 15, + 123, + 180, + 137, + 137, + 47, + 114, + 149, + 125, + 85, + 236, + 170, + 218, + 160, + 231, + 70 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 7, + 30 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |