aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/pad/pad_13x6_i8_pad0000
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:18 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-06-17 13:06:18 +0100
commit5dae754706e716e805a25d94a93c62fe89b28d1d (patch)
treedef705be67a7620b76c048b08ff860fe9b0a747b /operators/data_layout/pad/pad_13x6_i8_pad0000
parentd73c0846bc7be1685aff6a4e70e4ab4c03ab75c3 (diff)
downloadconformance_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_13x6_i8_pad0000')
-rw-r--r--operators/data_layout/pad/pad_13x6_i8_pad0000/Conformance-result-0.json109
-rw-r--r--operators/data_layout/pad/pad_13x6_i8_pad0000/desc.json20
-rw-r--r--operators/data_layout/pad/pad_13x6_i8_pad0000/input-0.json109
-rw-r--r--operators/data_layout/pad/pad_13x6_i8_pad0000/test.json59
4 files changed, 297 insertions, 0 deletions
diff --git a/operators/data_layout/pad/pad_13x6_i8_pad0000/Conformance-result-0.json b/operators/data_layout/pad/pad_13x6_i8_pad0000/Conformance-result-0.json
new file mode 100644
index 000000000..034739ce5
--- /dev/null
+++ b/operators/data_layout/pad/pad_13x6_i8_pad0000/Conformance-result-0.json
@@ -0,0 +1,109 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ -99,
+ 4,
+ -8,
+ -48,
+ -123,
+ 69
+ ],
+ [
+ -43,
+ 41,
+ -23,
+ -33,
+ 98,
+ -104
+ ],
+ [
+ 60,
+ 63,
+ -31,
+ -61,
+ -127,
+ 111
+ ],
+ [
+ 114,
+ -67,
+ -120,
+ -97,
+ -111,
+ 84
+ ],
+ [
+ 100,
+ -89,
+ 63,
+ -83,
+ -34,
+ 25
+ ],
+ [
+ 56,
+ 95,
+ -117,
+ -78,
+ -57,
+ -49
+ ],
+ [
+ 127,
+ 71,
+ -46,
+ 120,
+ -1,
+ 0
+ ],
+ [
+ -17,
+ -92,
+ 111,
+ -125,
+ -84,
+ -70
+ ],
+ [
+ -57,
+ -95,
+ -124,
+ 45,
+ 120,
+ -97
+ ],
+ [
+ -53,
+ 1,
+ 109,
+ 49,
+ 68,
+ 20
+ ],
+ [
+ -22,
+ -77,
+ 93,
+ 77,
+ -122,
+ 55
+ ],
+ [
+ -107,
+ 61,
+ 83,
+ -95,
+ -17,
+ -97
+ ],
+ [
+ 17,
+ 109,
+ -108,
+ -27,
+ 121,
+ -51
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/pad/pad_13x6_i8_pad0000/desc.json b/operators/data_layout/pad/pad_13x6_i8_pad0000/desc.json
new file mode 100644
index 000000000..3cd43b509
--- /dev/null
+++ b/operators/data_layout/pad/pad_13x6_i8_pad0000/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_13x6_i8_pad0000/input-0.json b/operators/data_layout/pad/pad_13x6_i8_pad0000/input-0.json
new file mode 100644
index 000000000..034739ce5
--- /dev/null
+++ b/operators/data_layout/pad/pad_13x6_i8_pad0000/input-0.json
@@ -0,0 +1,109 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ -99,
+ 4,
+ -8,
+ -48,
+ -123,
+ 69
+ ],
+ [
+ -43,
+ 41,
+ -23,
+ -33,
+ 98,
+ -104
+ ],
+ [
+ 60,
+ 63,
+ -31,
+ -61,
+ -127,
+ 111
+ ],
+ [
+ 114,
+ -67,
+ -120,
+ -97,
+ -111,
+ 84
+ ],
+ [
+ 100,
+ -89,
+ 63,
+ -83,
+ -34,
+ 25
+ ],
+ [
+ 56,
+ 95,
+ -117,
+ -78,
+ -57,
+ -49
+ ],
+ [
+ 127,
+ 71,
+ -46,
+ 120,
+ -1,
+ 0
+ ],
+ [
+ -17,
+ -92,
+ 111,
+ -125,
+ -84,
+ -70
+ ],
+ [
+ -57,
+ -95,
+ -124,
+ 45,
+ 120,
+ -97
+ ],
+ [
+ -53,
+ 1,
+ 109,
+ 49,
+ 68,
+ 20
+ ],
+ [
+ -22,
+ -77,
+ 93,
+ 77,
+ -122,
+ 55
+ ],
+ [
+ -107,
+ 61,
+ 83,
+ -95,
+ -17,
+ -97
+ ],
+ [
+ 17,
+ 109,
+ -108,
+ -27,
+ 121,
+ -51
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/pad/pad_13x6_i8_pad0000/test.json b/operators/data_layout/pad/pad_13x6_i8_pad0000/test.json
new file mode 100644
index 000000000..2bbfe4bb8
--- /dev/null
+++ b/operators/data_layout/pad/pad_13x6_i8_pad0000/test.json
@@ -0,0 +1,59 @@
+{
+ 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: 6,
+ pad_const_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 13,
+ 6
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 13,
+ 6
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}