diff options
author | James Ward <james.ward@arm.com> | 2023-02-07 20:10:48 +0000 |
---|---|---|
committer | James Ward <james.ward@arm.com> | 2023-02-20 11:12:45 +0000 |
commit | dca402e71ab73c9e5843eb5a1cba4c380f8874a9 (patch) | |
tree | 4085e4c3262be4bbfa371702d50956599d663541 /operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x5x2x8_i48xi48_acci48_st11_pad0000_dilat11 | |
parent | 2e5ae1b56c08821a5e0dd7dac40d0a6d73acbadc (diff) | |
download | conformance_tests-dca402e71ab73c9e5843eb5a1cba4c380f8874a9.tar.gz |
Create MI tests for Tensors: DEPTHWISE_CONV2D
Signed-off-by: James Ward <james.ward@arm.com>
Change-Id: I1f414a68c4f532b3315ec5ffab932dd3d70407b5
Diffstat (limited to 'operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x5x2x8_i48xi48_acci48_st11_pad0000_dilat11')
3 files changed, 449 insertions, 0 deletions
diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x5x2x8_i48xi48_acci48_st11_pad0000_dilat11/desc.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x5x2x8_i48xi48_acci48_st11_pad0000_dilat11/desc.json new file mode 100644 index 000000000..15cad4b15 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x5x2x8_i48xi48_acci48_st11_pad0000_dilat11/desc.json @@ -0,0 +1,21 @@ +{ + "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": "Input data type not supported for this operator", + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x5x2x8_i48xi48_acci48_st11_pad0000_dilat11/input-0.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x5x2x8_i48xi48_acci48_st11_pad0000_dilat11/input-0.json new file mode 100644 index 000000000..52393560f --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x5x2x8_i48xi48_acci48_st11_pad0000_dilat11/input-0.json @@ -0,0 +1,117 @@ +{ + "type": "int64", + "data": [ + [ + [ + [ + 76825044968846, + 100061973446340, + -69168680187257, + 117879941578652, + -12819093746029, + 29111395874783, + 136416716187856, + -38974129040298 + ], + [ + 88146519571440, + -51116104079869, + 84221119204437, + 28354077465835, + -79838774080541, + -24199503248399, + -51331005570371, + -118751930232126 + ] + ], + [ + [ + -132339747136348, + -43212416893853, + -135379852041694, + -94156825644100, + 63383469992126, + 58572475717729, + 67154408721711, + -51466806897807 + ], + [ + 109780717608906, + 26410951321055, + -105264226747268, + -100284281469245, + 54351530797971, + -92058097873045, + 2052713007963, + 138422209158928 + ] + ], + [ + [ + -139609447906346, + -136070689002346, + 138790971215272, + 23823713866731, + -105015505951905, + 111830627422875, + 107067536119634, + 10189510437440 + ], + [ + 34281408768599, + -63842129989970, + -126517457995589, + 26618415510138, + -57771277213236, + 46055230298095, + 94644603320841, + -135625749679980 + ] + ], + [ + [ + 26941032500554, + -75637803833344, + 105240256239854, + -69337277278518, + 31179020672675, + 15070406717292, + -29226531977609, + 49995800297580 + ], + [ + 63548502673500, + 18841314378587, + 72739393193094, + 136069810206645, + -22722802735528, + 4104764189850, + -137227529752241, + 83324630993152 + ] + ], + [ + [ + 5694257650626, + -25906554245742, + -114258584735615, + 109678532216240, + -29552834664372, + 51392151103734, + -98692401170429, + 129914671225874 + ], + [ + -90510597602320, + -84571410551147, + 101044692315007, + 116131718298568, + -81023301763481, + -8500294297673, + 65722972823879, + 106500486112505 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x5x2x8_i48xi48_acci48_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x5x2x8_i48xi48_acci48_st11_pad0000_dilat11/test.json new file mode 100644 index 000000000..415dd2435 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongInputType_1x5x2x8_i48xi48_acci48_st11_pad0000_dilat11/test.json @@ -0,0 +1,311 @@ +{ + version: { + _major: 0, + _minor: 51, + _patch: 0, + _draft: true + }, + regions: [ + { + name: "main", + 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: [ + 1, + 1 + ], + input_zp: 0, + weight_zp: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 5, + 2, + 8 + ], + type: "INT48" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 8, + 2 + ], + type: "INT48", + data: [ + 88, + 165, + 240, + 152, + 9, + 225, + 186, + 105, + 155, + 99, + 91, + 4, + 185, + 22, + 110, + 32, + 225, + 61, + 28, + 167, + 52, + 186, + 43, + 59, + 176, + 136, + 56, + 19, + 112, + 72, + 34, + 243, + 199, + 46, + 231, + 17, + 195, + 113, + 19, + 14, + 200, + 154, + 87, + 199, + 40, + 203, + 106, + 103, + 17, + 179, + 116, + 41, + 150, + 93, + 119, + 220, + 17, + 29, + 80, + 76, + 188, + 128, + 89, + 150, + 144, + 153, + 212, + 0, + 199, + 98, + 83, + 180, + 87, + 110, + 241, + 151, + 92, + 62, + 175, + 116, + 93, + 130, + 236, + 133, + 217, + 53, + 49, + 119, + 174, + 122, + 239, + 252, + 195, + 141, + 140, + 224 + ] + }, + { + name: "const-2", + shape: [ + 16 + ], + type: "INT48", + data: [ + 19, + 206, + 191, + 221, + 36, + 56, + 103, + 238, + 221, + 219, + 55, + 99, + 245, + 160, + 223, + 118, + 6, + 229, + 108, + 160, + 177, + 170, + 178, + 209, + 28, + 89, + 104, + 117, + 214, + 27, + 71, + 146, + 55, + 184, + 187, + 20, + 122, + 98, + 199, + 101, + 189, + 232, + 155, + 2, + 16, + 233, + 13, + 26, + 102, + 147, + 71, + 39, + 117, + 111, + 24, + 129, + 152, + 69, + 183, + 247, + 83, + 17, + 16, + 178, + 93, + 178, + 137, + 86, + 64, + 146, + 144, + 224, + 216, + 92, + 249, + 49, + 228, + 228, + 215, + 196, + 220, + 86, + 144, + 161, + 14, + 85, + 88, + 242, + 177, + 169, + 203, + 78, + 197, + 117, + 63, + 47 + ] + }, + { + name: "result-0", + shape: [ + 1, + 5, + 2, + 16 + ], + type: "INT32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |