diff options
Diffstat (limited to 'operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x14x5x7_i8xi4_acci32_st11_pad0000_dilat-5-5')
3 files changed, 897 insertions, 0 deletions
diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x14x5x7_i8xi4_acci32_st11_pad0000_dilat-5-5/desc.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x14x5x7_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_1x14x5x7_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_1x14x5x7_i8xi4_acci32_st11_pad0000_dilat-5-5/input-0.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x14x5x7_i8xi4_acci32_st11_pad0000_dilat-5-5/input-0.json new file mode 100644 index 000000000..ef035af89 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x14x5x7_i8xi4_acci32_st11_pad0000_dilat-5-5/input-0.json @@ -0,0 +1,665 @@ +{ + "type": "int32", + "data": [ + [ + [ + [ + -66, + 27, + -58, + 71, + -12, + -118, + -65 + ], + [ + -38, + -9, + -59, + 19, + 118, + 54, + -49 + ], + [ + 45, + 119, + -67, + -69, + -118, + 87, + 85 + ], + [ + -23, + 95, + 38, + 122, + 108, + 117, + -28 + ], + [ + 34, + -86, + 100, + -47, + -14, + 24, + 73 + ] + ], + [ + [ + 59, + 116, + 54, + 75, + 18, + -22, + 105 + ], + [ + -32, + 30, + -54, + -5, + -35, + -62, + 82 + ], + [ + 68, + 51, + -107, + -65, + -73, + 54, + 100 + ], + [ + -31, + -44, + 14, + 124, + -34, + -57, + 5 + ], + [ + 106, + 58, + 4, + 59, + -125, + 64, + -104 + ] + ], + [ + [ + -28, + -39, + 48, + -67, + -67, + 98, + -6 + ], + [ + 61, + 21, + 30, + 47, + 42, + 105, + 72 + ], + [ + -50, + -85, + 88, + -33, + -49, + -100, + 13 + ], + [ + 3, + 83, + 63, + 57, + 9, + 92, + 123 + ], + [ + 80, + -39, + -58, + -128, + 126, + 59, + 111 + ] + ], + [ + [ + 73, + -18, + -91, + -116, + 74, + -51, + -31 + ], + [ + 86, + -5, + 115, + 11, + 84, + -96, + -27 + ], + [ + -82, + -114, + 125, + 4, + -38, + -32, + -67 + ], + [ + -97, + 105, + -101, + -30, + -89, + 109, + -76 + ], + [ + -28, + 64, + 17, + -31, + 16, + -17, + -54 + ] + ], + [ + [ + 25, + -35, + 117, + -10, + 65, + -68, + 37 + ], + [ + 15, + 62, + -10, + 56, + -114, + 48, + 64 + ], + [ + -1, + -120, + 17, + 72, + -10, + -104, + -27 + ], + [ + 126, + -59, + 7, + -38, + 54, + -19, + -30 + ], + [ + 20, + 18, + -1, + -62, + -101, + 48, + -41 + ] + ], + [ + [ + 28, + -32, + 90, + 52, + -25, + -43, + 63 + ], + [ + -126, + -114, + -107, + -40, + -1, + -54, + -80 + ], + [ + -48, + -2, + -52, + 18, + -31, + 110, + 126 + ], + [ + 39, + 14, + -121, + 31, + -31, + -54, + 75 + ], + [ + -118, + -62, + 70, + 108, + 3, + 7, + 119 + ] + ], + [ + [ + -105, + -5, + -67, + -6, + 104, + 24, + 125 + ], + [ + 1, + 92, + -85, + -46, + -58, + 68, + 3 + ], + [ + -72, + -84, + -30, + -89, + 50, + 89, + 120 + ], + [ + -68, + -16, + 0, + -2, + -12, + -72, + -100 + ], + [ + -25, + -105, + -112, + 6, + 91, + 10, + -123 + ] + ], + [ + [ + 87, + 46, + -51, + -59, + 102, + -7, + -92 + ], + [ + -56, + -61, + -26, + -40, + 11, + -46, + 36 + ], + [ + -2, + 112, + 83, + -43, + -118, + 21, + -42 + ], + [ + 102, + -25, + -54, + -42, + 93, + -100, + 117 + ], + [ + -69, + 88, + 11, + 17, + -76, + 56, + 38 + ] + ], + [ + [ + -5, + -11, + 24, + -8, + 121, + -118, + -64 + ], + [ + 89, + 74, + -39, + 1, + -122, + -83, + 113 + ], + [ + 36, + -119, + 74, + -25, + 17, + 91, + 86 + ], + [ + -94, + -35, + -59, + 105, + 71, + 37, + -114 + ], + [ + 77, + 15, + -59, + -15, + -14, + -53, + 104 + ] + ], + [ + [ + 106, + -115, + 111, + -25, + 76, + 71, + 25 + ], + [ + 62, + 46, + 90, + -20, + 61, + 122, + 114 + ], + [ + -91, + -1, + 2, + 31, + 37, + 89, + 8 + ], + [ + 51, + 102, + -102, + 36, + -35, + 103, + 13 + ], + [ + 26, + 65, + -67, + 11, + 69, + 71, + -70 + ] + ], + [ + [ + 86, + -87, + -61, + 91, + 29, + 10, + 14 + ], + [ + 120, + -70, + -52, + -3, + 88, + 12, + 57 + ], + [ + 81, + 100, + -10, + -11, + -108, + -108, + -4 + ], + [ + 63, + 86, + -24, + 18, + 80, + -47, + -88 + ], + [ + 107, + 11, + -89, + -64, + -45, + -77, + -17 + ] + ], + [ + [ + 80, + 60, + 106, + 85, + -49, + -114, + -90 + ], + [ + 74, + -41, + 56, + -11, + 101, + 2, + 102 + ], + [ + -64, + 71, + 6, + -80, + -69, + -48, + -89 + ], + [ + 111, + -74, + 25, + 18, + 9, + 32, + 106 + ], + [ + 119, + 95, + -11, + 58, + -81, + 97, + -78 + ] + ], + [ + [ + -99, + 84, + 65, + -93, + 119, + -100, + -116 + ], + [ + 116, + -71, + -68, + 75, + 27, + 5, + 124 + ], + [ + -106, + 108, + -60, + 31, + -46, + -53, + -46 + ], + [ + 15, + 96, + -100, + 41, + 92, + 60, + 122 + ], + [ + -125, + -36, + -19, + 9, + -47, + -64, + 90 + ] + ], + [ + [ + -69, + 116, + -119, + -20, + 28, + 121, + 67 + ], + [ + -125, + 63, + -45, + 92, + 70, + -79, + -36 + ], + [ + 82, + 107, + 26, + -73, + -29, + 75, + 25 + ], + [ + -77, + -55, + -78, + -8, + -14, + 10, + 113 + ], + [ + 38, + 21, + -35, + 34, + 116, + -126, + -39 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x14x5x7_i8xi4_acci32_st11_pad0000_dilat-5-5/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x14x5x7_i8xi4_acci32_st11_pad0000_dilat-5-5/test.json new file mode 100644 index 000000000..fd6680e98 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_DilationSmallerOne_1x14x5x7_i8xi4_acci32_st11_pad0000_dilat-5-5/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: "DEPTHWISE_CONV2D", + attribute_type: "ConvAttribute", + attribute: { + pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + dilation: [ + -5, + -5 + ], + input_zp: 59, + weight_zp: 0, + accum_dtype: "INT32" + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 14, + 5, + 7 + ], + type: "INT8" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 7, + 3 + ], + type: "INT4", + data: [ + 201, + 26, + 117, + 60, + 221, + 50, + 161, + 223, + 153, + 175, + 4 + ] + }, + { + name: "const-2", + shape: [ + 21 + ], + type: "INT32", + data: [ + 145, + 60, + 103, + 142, + 206, + 164, + 56, + 188, + 245, + 150, + 85, + 124, + 87, + 243, + 86, + 53, + 37, + 44, + 177, + 14, + 33, + 14, + 225, + 131, + 195, + 184, + 46, + 139, + 16, + 51, + 115, + 104, + 144, + 200, + 163, + 76, + 254, + 196, + 53, + 115, + 243, + 130, + 225, + 78, + 214, + 80, + 161, + 128, + 0, + 140, + 57, + 78, + 106, + 150, + 51, + 245, + 249, + 221, + 61, + 49, + 19, + 60, + 240, + 233, + 32, + 5, + 148, + 56, + 232, + 170, + 133, + 87, + 246, + 237, + 121, + 121, + 238, + 186, + 108, + 10, + 159, + 50, + 109, + 199 + ] + }, + { + name: "result-0", + shape: [ + 1, + 14, + 5, + 21 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |