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_WrongInputList_1x2x4x5_bf16xbf16_accf32_st11_pad0000_os1x2x4x5 | |
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_WrongInputList_1x2x4x5_bf16xbf16_accf32_st11_pad0000_os1x2x4x5')
3 files changed, 328 insertions, 0 deletions
diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x2x4x5_bf16xbf16_accf32_st11_pad0000_os1x2x4x5/desc.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x2x4x5_bf16xbf16_accf32_st11_pad0000_os1x2x4x5/desc.json new file mode 100644 index 000000000..b4526f1cb --- /dev/null +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x2x4x5_bf16xbf16_accf32_st11_pad0000_os1x2x4x5/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 input list does not match expected input", + "profile": [ + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x2x4x5_bf16xbf16_accf32_st11_pad0000_os1x2x4x5/input-0.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x2x4x5_bf16xbf16_accf32_st11_pad0000_os1x2x4x5/input-0.json new file mode 100644 index 000000000..88aaf85be --- /dev/null +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x2x4x5_bf16xbf16_accf32_st11_pad0000_os1x2x4x5/input-0.json @@ -0,0 +1,67 @@ +{ + "type": "float32", + "data": [ + [ + [ + [ + 0.7890625, + 0.44921875, + 0.7890625, + 0.0067138671875, + 0.287109375 + ], + [ + 0.75, + 0.79296875, + 0.6171875, + 0.30078125, + 0.30859375 + ], + [ + 0.96484375, + 0.4375, + 0.4453125, + 0.55078125, + 0.408203125 + ], + [ + 0.55078125, + 0.431640625, + 0.82421875, + 0.90625, + 0.9296875 + ] + ], + [ + [ + 0.5625, + 0.44140625, + 0.703125, + 0.8359375, + 0.5625 + ], + [ + 0.69921875, + 0.74609375, + 0.67578125, + 0.74609375, + 0.2080078125 + ], + [ + 0.498046875, + 0.5859375, + 0.002471923828125, + 0.85546875, + 0.609375 + ], + [ + 0.12890625, + 0.8125, + 0.71484375, + 0.7578125, + 0.390625 + ] + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x2x4x5_bf16xbf16_accf32_st11_pad0000_os1x2x4x5/test.json b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x2x4x5_bf16xbf16_accf32_st11_pad0000_os1x2x4x5/test.json new file mode 100644 index 000000000..5a14a25e9 --- /dev/null +++ b/operators/tensor/transpose_conv2d_1x1/transpose_conv2d_1x1_ERRORIF_WrongInputList_1x2x4x5_bf16xbf16_accf32_st11_pad0000_os1x2x4x5/test.json @@ -0,0 +1,240 @@ +{ + 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, + 2, + 4, + 5 + ], + input_zp: 0, + weight_zp: 0 + }, + inputs: [ + "input-0", + "const-1" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 1, + 2, + 4, + 5 + ], + type: "BF16" + }, + { + name: "const-1", + shape: [ + 5, + 1, + 1, + 5 + ], + type: "BF16", + data: [ + 0, + 0, + 90, + 63, + 0, + 0, + 211, + 62, + 0, + 0, + 18, + 63, + 0, + 0, + 40, + 58, + 0, + 0, + 37, + 63, + 0, + 0, + 55, + 63, + 0, + 0, + 17, + 63, + 0, + 0, + 254, + 62, + 0, + 0, + 79, + 63, + 0, + 0, + 46, + 63, + 0, + 0, + 142, + 62, + 0, + 0, + 117, + 63, + 0, + 0, + 53, + 63, + 0, + 0, + 124, + 63, + 0, + 0, + 120, + 63, + 0, + 0, + 107, + 63, + 0, + 0, + 65, + 63, + 0, + 0, + 28, + 63, + 0, + 0, + 48, + 62, + 0, + 0, + 11, + 63, + 0, + 0, + 67, + 63, + 0, + 0, + 5, + 63, + 0, + 0, + 94, + 63, + 0, + 0, + 224, + 61, + 0, + 0, + 195, + 62 + ] + }, + { + name: "const-2", + shape: [ + 5 + ], + type: "FP32", + data: [ + 226, + 134, + 1, + 63, + 190, + 89, + 221, + 62, + 160, + 98, + 222, + 61, + 133, + 54, + 29, + 62, + 22, + 110, + 86, + 63 + ] + }, + { + name: "result-0", + shape: [ + 1, + 2, + 4, + 5 + ], + type: "FP32" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] + } + ] +} |