diff options
author | James Ward <james.ward@arm.com> | 2022-11-21 11:51:55 +0000 |
---|---|---|
committer | James Ward <james.ward@arm.com> | 2022-11-21 11:51:55 +0000 |
commit | d8e6b6b5148a3d61b378e6e5259ca421a709abef (patch) | |
tree | 2ec785497e47a644c12d57f22a306b0749d22735 /operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10_bf16_perm0_rank2 | |
parent | da333bee0fae850bf90f422d68902884b6063cce (diff) | |
download | conformance_tests-d8e6b6b5148a3d61b378e6e5259ca421a709abef.tar.gz |
Create MI tests for Data Layout: CONCAT, PAD, RESHAPE, REVERSE, SLICE, TILE, TRANSPOSE
Signed-off-by: James Ward <james.ward@arm.com>
Change-Id: Icbbe8f63e35d04a3b2cc64bd760ca92c22fd4aa7
Diffstat (limited to 'operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10_bf16_perm0_rank2')
3 files changed, 90 insertions, 0 deletions
diff --git a/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10_bf16_perm0_rank2/desc.json b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10_bf16_perm0_rank2/desc.json new file mode 100644 index 000000000..671c6cfc2 --- /dev/null +++ b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10_bf16_perm0_rank2/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/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10_bf16_perm0_rank2/input-0.json b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10_bf16_perm0_rank2/input-0.json new file mode 100644 index 000000000..bc06495dd --- /dev/null +++ b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10_bf16_perm0_rank2/input-0.json @@ -0,0 +1,15 @@ +{ + "type": "float32", + "data": [ + 0.58203125, + 0.27734375, + 0.98046875, + 0.15234375, + 0.419921875, + 0.86328125, + 0.5390625, + 0.984375, + 0.010498046875, + 0.49609375 + ] +}
\ No newline at end of file diff --git a/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10_bf16_perm0_rank2/test.json b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10_bf16_perm0_rank2/test.json new file mode 100644 index 000000000..68c560b77 --- /dev/null +++ b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10_bf16_perm0_rank2/test.json @@ -0,0 +1,54 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 2, + 5 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10 + ], + type: "BF16" + }, + { + name: "result-0", + shape: [ + 2, + 5 + ], + type: "BF16" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |