diff options
author | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:18 +0100 |
---|---|---|
committer | Jeremy Johnson <jeremy.johnson@arm.com> | 2022-06-17 13:06:18 +0100 |
commit | 5dae754706e716e805a25d94a93c62fe89b28d1d (patch) | |
tree | def705be67a7620b76c048b08ff860fe9b0a747b /operators/data_layout/pad/pad_ERRORIF_WrongOutputList_10x12_i8_pad0000 | |
parent | d73c0846bc7be1685aff6a4e70e4ab4c03ab75c3 (diff) | |
download | conformance_tests-5dae754706e716e805a25d94a93c62fe89b28d1d.tar.gz |
Updating PAD tests for v0.30.0 release
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com>
Change-Id: Ie82da88ef6124c43dc6561facd327fde9615990a
Diffstat (limited to 'operators/data_layout/pad/pad_ERRORIF_WrongOutputList_10x12_i8_pad0000')
3 files changed, 223 insertions, 0 deletions
diff --git a/operators/data_layout/pad/pad_ERRORIF_WrongOutputList_10x12_i8_pad0000/desc.json b/operators/data_layout/pad/pad_ERRORIF_WrongOutputList_10x12_i8_pad0000/desc.json new file mode 100644 index 000000000..9384c51a7 --- /dev/null +++ b/operators/data_layout/pad/pad_ERRORIF_WrongOutputList_10x12_i8_pad0000/desc.json @@ -0,0 +1,18 @@ +{ + "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" +}
\ No newline at end of file diff --git a/operators/data_layout/pad/pad_ERRORIF_WrongOutputList_10x12_i8_pad0000/input-0.json b/operators/data_layout/pad/pad_ERRORIF_WrongOutputList_10x12_i8_pad0000/input-0.json new file mode 100644 index 000000000..582bce649 --- /dev/null +++ b/operators/data_layout/pad/pad_ERRORIF_WrongOutputList_10x12_i8_pad0000/input-0.json @@ -0,0 +1,145 @@ +{ + "type": "int32", + "data": [ + [ + -40, + 83, + 121, + -105, + -27, + -113, + 5, + -89, + 10, + -73, + -40, + -27 + ], + [ + 62, + -98, + 101, + 27, + -37, + -59, + 53, + 49, + 92, + 83, + -109, + -19 + ], + [ + -32, + -22, + 36, + -86, + -23, + 51, + -74, + 75, + 86, + 42, + -97, + -77 + ], + [ + -65, + -17, + 106, + 29, + 86, + 107, + -77, + -61, + 123, + -99, + -13, + 33 + ], + [ + 62, + -50, + -36, + -79, + -30, + -110, + -88, + 49, + 32, + -77, + 12, + -90 + ], + [ + 54, + 47, + 55, + -25, + -70, + 116, + -106, + -18, + 25, + -68, + -104, + -81 + ], + [ + -76, + 64, + 16, + 90, + 117, + -120, + -30, + -75, + 109, + 100, + 59, + 4 + ], + [ + 72, + -5, + -1, + -61, + 121, + 66, + 116, + 127, + -77, + -20, + 15, + 1 + ], + [ + 31, + 28, + 76, + 32, + 103, + -123, + -62, + 63, + 32, + 127, + -120, + 18 + ], + [ + -44, + 68, + 114, + 73, + 110, + -105, + 90, + 48, + -96, + 98, + -73, + 116 + ] + ] +}
\ No newline at end of file diff --git a/operators/data_layout/pad/pad_ERRORIF_WrongOutputList_10x12_i8_pad0000/test.json b/operators/data_layout/pad/pad_ERRORIF_WrongOutputList_10x12_i8_pad0000/test.json new file mode 100644 index 000000000..01b6cada8 --- /dev/null +++ b/operators/data_layout/pad/pad_ERRORIF_WrongOutputList_10x12_i8_pad0000/test.json @@ -0,0 +1,60 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "PAD", + attribute_type: "PadAttribute", + attribute: { + padding: [ + 0, + 0, + 0, + 0 + ], + pad_const_int: 22, + pad_const_fp: 0.0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0", + "eiDummyOutput" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 10, + 12 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 10, + 12 + ], + type: "INT8" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |