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_WrongOutputList_1x2x5x2_bf16xbf16_accf32_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_WrongOutputList_1x2x5x2_bf16xbf16_accf32_st11_pad0000_dilat11')
3 files changed, 224 insertions, 0 deletions
diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongOutputList_1x2x5x2_bf16xbf16_accf32_st11_pad0000_dilat11/desc.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongOutputList_1x2x5x2_bf16xbf16_accf32_st11_pad0000_dilat11/desc.json new file mode 100644 index 000000000..671c6cfc2 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongOutputList_1x2x5x2_bf16xbf16_accf32_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": "Op output list does not match expected output", + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongOutputList_1x2x5x2_bf16xbf16_accf32_st11_pad0000_dilat11/input-0.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongOutputList_1x2x5x2_bf16xbf16_accf32_st11_pad0000_dilat11/input-0.json new file mode 100644 index 000000000..cd202d8d7 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongOutputList_1x2x5x2_bf16xbf16_accf32_st11_pad0000_dilat11/input-0.json @@ -0,0 +1,51 @@ +{ + "type": "float32", + "data": [ + [ + [ + [ + 0.52734375, + 0.0859375 + ], + [ + 0.875, + 0.921875 + ], + [ + 0.8203125, + 0.5625 + ], + [ + 0.5546875, + 0.984375 + ], + [ + 0.2470703125, + 0.07568359375 + ] + ], + [ + [ + 0.55859375, + 0.328125 + ], + [ + 0.322265625, + 0.007080078125 + ], + [ + 0.59375, + 0.263671875 + ], + [ + 0.1875, + 0.040283203125 + ], + [ + 0.36328125, + 0.87890625 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongOutputList_1x2x5x2_bf16xbf16_accf32_st11_pad0000_dilat11/test.json b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongOutputList_1x2x5x2_bf16xbf16_accf32_st11_pad0000_dilat11/test.json new file mode 100644 index 000000000..11fc77bc4 --- /dev/null +++ b/operators/tensor/depthwise_conv2d_1x1/depthwise_conv2d_1x1_ERRORIF_WrongOutputList_1x2x5x2_bf16xbf16_accf32_st11_pad0000_dilat11/test.json @@ -0,0 +1,152 @@ +{ + 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", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 5, + 2 + ], + type: "BF16" + }, + { + name: "const-1", + shape: [ + 1, + 1, + 2, + 2 + ], + type: "BF16", + data: [ + 0, + 0, + 172, + 62, + 0, + 0, + 45, + 63, + 0, + 0, + 65, + 63, + 0, + 0, + 167, + 62 + ] + }, + { + name: "const-2", + shape: [ + 4 + ], + type: "FP32", + data: [ + 12, + 87, + 82, + 63, + 6, + 31, + 49, + 63, + 128, + 42, + 15, + 63, + 145, + 21, + 130, + 58 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 5, + 4 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |