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_6_i8_pad00 | |
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_6_i8_pad00')
4 files changed, 97 insertions, 0 deletions
diff --git a/operators/data_layout/pad/pad_6_i8_pad00/Conformance-result-0.json b/operators/data_layout/pad/pad_6_i8_pad00/Conformance-result-0.json new file mode 100644 index 000000000..ec653ab98 --- /dev/null +++ b/operators/data_layout/pad/pad_6_i8_pad00/Conformance-result-0.json @@ -0,0 +1,11 @@ +{ + "type": "int32", + "data": [ + 91, + 83, + -58, + 33, + -86, + 66 + ] +}
\ No newline at end of file diff --git a/operators/data_layout/pad/pad_6_i8_pad00/desc.json b/operators/data_layout/pad/pad_6_i8_pad00/desc.json new file mode 100644 index 000000000..3cd43b509 --- /dev/null +++ b/operators/data_layout/pad/pad_6_i8_pad00/desc.json @@ -0,0 +1,20 @@ +{ + "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": 0, + "expected_failure": false, + "expected_result_file": [ + "Conformance-result-0.npy" + ] +}
\ No newline at end of file diff --git a/operators/data_layout/pad/pad_6_i8_pad00/input-0.json b/operators/data_layout/pad/pad_6_i8_pad00/input-0.json new file mode 100644 index 000000000..ec653ab98 --- /dev/null +++ b/operators/data_layout/pad/pad_6_i8_pad00/input-0.json @@ -0,0 +1,11 @@ +{ + "type": "int32", + "data": [ + 91, + 83, + -58, + 33, + -86, + 66 + ] +}
\ No newline at end of file diff --git a/operators/data_layout/pad/pad_6_i8_pad00/test.json b/operators/data_layout/pad/pad_6_i8_pad00/test.json new file mode 100644 index 000000000..0bca52eaf --- /dev/null +++ b/operators/data_layout/pad/pad_6_i8_pad00/test.json @@ -0,0 +1,55 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "PAD", + attribute_type: "PadAttribute", + attribute: { + padding: [ + 0, + 0 + ], + pad_const_int: 70, + pad_const_fp: 0.0 + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 6 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 6 + ], + type: "INT8" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |