diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:15 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-10-13 12:50:15 +0100 |
commit | cf8989f6250721418177c5b78cdedb7b6c56f74d (patch) | |
tree | 032b16f5831f3cbf110cb4f056c9550ee7381eb9 /operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10x4x4_b_perm0_rank5 | |
parent | d2d22b3e074fa6be55ca3d568540e820e50f44be (diff) | |
download | conformance_tests-cf8989f6250721418177c5b78cdedb7b6c56f74d.tar.gz |
Updating DATA_LAYOUT tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: I605e4528c4b31c393e4a8ee88de332ecbc2f1421
Diffstat (limited to 'operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10x4x4_b_perm0_rank5')
3 files changed, 349 insertions, 0 deletions
diff --git a/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10x4x4_b_perm0_rank5/desc.json b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10x4x4_b_perm0_rank5/desc.json new file mode 100644 index 000000000..2b74f86d0 --- /dev/null +++ b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10x4x4_b_perm0_rank5/desc.json @@ -0,0 +1,22 @@ +{ + "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-bi", + "tosa-mi" + ] +}
\ No newline at end of file diff --git a/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10x4x4_b_perm0_rank5/input-0.json b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10x4x4_b_perm0_rank5/input-0.json new file mode 100644 index 000000000..0fb3b2527 --- /dev/null +++ b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10x4x4_b_perm0_rank5/input-0.json @@ -0,0 +1,265 @@ +{ + "type": "bool", + "data": [ + [ + [ + false, + true, + true, + false + ], + [ + false, + false, + true, + true + ], + [ + true, + true, + false, + false + ], + [ + false, + false, + false, + true + ] + ], + [ + [ + true, + false, + false, + true + ], + [ + false, + false, + false, + true + ], + [ + false, + false, + false, + false + ], + [ + false, + false, + false, + true + ] + ], + [ + [ + true, + false, + true, + true + ], + [ + false, + false, + true, + true + ], + [ + true, + false, + false, + false + ], + [ + false, + false, + false, + false + ] + ], + [ + [ + true, + true, + true, + true + ], + [ + false, + true, + false, + false + ], + [ + true, + true, + false, + true + ], + [ + true, + true, + true, + true + ] + ], + [ + [ + true, + false, + true, + false + ], + [ + true, + true, + false, + false + ], + [ + true, + true, + false, + true + ], + [ + true, + true, + true, + true + ] + ], + [ + [ + false, + false, + true, + false + ], + [ + false, + true, + true, + true + ], + [ + true, + false, + false, + true + ], + [ + false, + false, + false, + false + ] + ], + [ + [ + true, + true, + false, + false + ], + [ + false, + true, + true, + true + ], + [ + false, + false, + false, + true + ], + [ + false, + true, + true, + true + ] + ], + [ + [ + true, + false, + false, + false + ], + [ + true, + false, + true, + false + ], + [ + true, + true, + false, + false + ], + [ + true, + false, + true, + false + ] + ], + [ + [ + false, + true, + false, + false + ], + [ + true, + false, + true, + true + ], + [ + true, + true, + true, + false + ], + [ + true, + true, + false, + false + ] + ], + [ + [ + false, + true, + true, + false + ], + [ + true, + false, + true, + true + ], + [ + false, + true, + false, + false + ], + [ + true, + false, + false, + false + ] + ] + ] +}
\ No newline at end of file diff --git a/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10x4x4_b_perm0_rank5/test.json b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10x4x4_b_perm0_rank5/test.json new file mode 100644 index 000000000..3e04e4e05 --- /dev/null +++ b/operators/data_layout/reshape/reshape_ERRORIF_WrongOutputList_10x4x4_b_perm0_rank5/test.json @@ -0,0 +1,62 @@ +{ + version: { + _major: 0, + _minor: 41, + _patch: 0, + _draft: true + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 1, + 8, + 4, + 1, + 5 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 4, + 4 + ], + type: "BOOL" + }, + { + name: "result-0", + shape: [ + 1, + 8, + 4, + 1, + 5 + ], + type: "BOOL" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |