diff options
author | James Ward <james.ward@arm.com> | 2023-02-21 10:37:24 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-02-22 16:36:06 +0000 |
commit | 8f523840638434699bb53e0c986a0f84b38f6b70 (patch) | |
tree | c9dc34dceabff01632f07e887323ddf3c0da9f3b /operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x3x1x5_bf16xbf16_accf32_st11_pad0000_os1x3x1x8 | |
parent | f42c430ce7d8c7c3fa412ba48c5e602def6f639c (diff) | |
download | conformance_tests-8f523840638434699bb53e0c986a0f84b38f6b70.tar.gz |
Create MI tests for Tensors: TRANSPOSE_CONV2D
Signed-off-by: James Ward <james.ward@arm.com>
Change-Id: I9ce5f8b26e03d53ef62d07da139f532f39a31d4b
Diffstat (limited to 'operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x3x1x5_bf16xbf16_accf32_st11_pad0000_os1x3x1x8')
3 files changed, 368 insertions, 0 deletions
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x3x1x5_bf16xbf16_accf32_st11_pad0000_os1x3x1x8/desc.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x3x1x5_bf16xbf16_accf32_st11_pad0000_os1x3x1x8/desc.json new file mode 100644 index 000000000..d57e8394e --- /dev/null +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x3x1x5_bf16xbf16_accf32_st11_pad0000_os1x3x1x8/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": "Output data type not supported for this configuration of operator", + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x3x1x5_bf16xbf16_accf32_st11_pad0000_os1x3x1x8/input-0.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x3x1x5_bf16xbf16_accf32_st11_pad0000_os1x3x1x8/input-0.json new file mode 100644 index 000000000..923a3f901 --- /dev/null +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x3x1x5_bf16xbf16_accf32_st11_pad0000_os1x3x1x8/input-0.json @@ -0,0 +1,34 @@ +{ + "type": "float32", + "data": [ + [ + [ + [ + 0.2158203125, + 0.53125, + 0.77734375, + 0.2451171875, + 0.23046875 + ] + ], + [ + [ + 0.027099609375, + 0.95703125, + 0.70703125, + 0.6328125, + 0.7421875 + ] + ], + [ + [ + 0.53125, + 0.474609375, + 0.44921875, + 0.63671875, + 0.201171875 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x3x1x5_bf16xbf16_accf32_st11_pad0000_os1x3x1x8/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x3x1x5_bf16xbf16_accf32_st11_pad0000_os1x3x1x8/test.json new file mode 100644 index 000000000..3abb96eb1 --- /dev/null +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongOutputType_1x3x1x5_bf16xbf16_accf32_st11_pad0000_os1x3x1x8/test.json @@ -0,0 +1,313 @@ +{ + 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: "TRANSPOSE_CONV2D", + attribute_type: "TransposeConvAttribute", + attribute: { + out_pad: [ + 0, + 0, + 0, + 0 + ], + stride: [ + 1, + 1 + ], + output_shape: [ + 1, + 3, + 1, + 8 + ], + input_zp: 0, + weight_zp: 0 + }, + inputs: [ + "input-0", + "const-1", + "const-2" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 3, + 1, + 5 + ], + type: "BF16" + }, + { + name: "const-1", + shape: [ + 8, + 1, + 1, + 5 + ], + type: "BF16", + data: [ + 0, + 0, + 99, + 63, + 0, + 0, + 79, + 63, + 0, + 0, + 178, + 62, + 0, + 0, + 20, + 63, + 0, + 0, + 16, + 62, + 0, + 0, + 120, + 63, + 0, + 0, + 103, + 63, + 0, + 0, + 108, + 63, + 0, + 0, + 170, + 62, + 0, + 0, + 45, + 62, + 0, + 0, + 88, + 62, + 0, + 0, + 184, + 61, + 0, + 0, + 245, + 61, + 0, + 0, + 146, + 61, + 0, + 0, + 125, + 63, + 0, + 0, + 151, + 61, + 0, + 0, + 7, + 62, + 0, + 0, + 83, + 63, + 0, + 0, + 20, + 63, + 0, + 0, + 70, + 63, + 0, + 0, + 33, + 63, + 0, + 0, + 97, + 63, + 0, + 0, + 35, + 63, + 0, + 0, + 5, + 63, + 0, + 0, + 54, + 63, + 0, + 0, + 229, + 62, + 0, + 0, + 177, + 62, + 0, + 0, + 239, + 62, + 0, + 0, + 45, + 62, + 0, + 0, + 75, + 63, + 0, + 0, + 133, + 62, + 0, + 0, + 29, + 62, + 0, + 0, + 124, + 62, + 0, + 0, + 87, + 63, + 0, + 0, + 169, + 62, + 0, + 0, + 47, + 63, + 0, + 0, + 91, + 63, + 0, + 0, + 159, + 61, + 0, + 0, + 67, + 63, + 0, + 0, + 157, + 62 + ] + }, + { + name: "const-2", + shape: [ + 8 + ], + type: "FP32", + data: [ + 65, + 210, + 93, + 62, + 216, + 91, + 48, + 63, + 110, + 232, + 104, + 63, + 194, + 12, + 151, + 62, + 24, + 159, + 17, + 63, + 35, + 101, + 148, + 62, + 169, + 229, + 13, + 63, + 90, + 50, + 31, + 63 + ] + }, + { + name: "result-0", + shape: [ + 1, + 3, + 1, + 8 + ], + type: "INT16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |