aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/pad/pad_13x6_i8_pad0101
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_pad0101
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_pad0101')
-rw-r--r--operators/data_layout/pad/pad_13x6_i8_pad0101/Conformance-result-0.json131
-rw-r--r--operators/data_layout/pad/pad_13x6_i8_pad0101/desc.json20
-rw-r--r--operators/data_layout/pad/pad_13x6_i8_pad0101/input-0.json109
-rw-r--r--operators/data_layout/pad/pad_13x6_i8_pad0101/test.json59
4 files changed, 319 insertions, 0 deletions
diff --git a/operators/data_layout/pad/pad_13x6_i8_pad0101/Conformance-result-0.json b/operators/data_layout/pad/pad_13x6_i8_pad0101/Conformance-result-0.json
new file mode 100644
index 000000000..67b47c7e4
--- /dev/null
+++ b/operators/data_layout/pad/pad_13x6_i8_pad0101/Conformance-result-0.json
@@ -0,0 +1,131 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 14,
+ -16,
+ 60,
+ -30,
+ -96,
+ 58,
+ 6
+ ],
+ [
+ -83,
+ 13,
+ 114,
+ 111,
+ -36,
+ 71,
+ 6
+ ],
+ [
+ 28,
+ -6,
+ -93,
+ -32,
+ 38,
+ 124,
+ 6
+ ],
+ [
+ -127,
+ 55,
+ 88,
+ 115,
+ -20,
+ -98,
+ 6
+ ],
+ [
+ -59,
+ 89,
+ 96,
+ 35,
+ -97,
+ -97,
+ 6
+ ],
+ [
+ -6,
+ 22,
+ -120,
+ 47,
+ 11,
+ -125,
+ 6
+ ],
+ [
+ -104,
+ -12,
+ 56,
+ 83,
+ -18,
+ -53,
+ 6
+ ],
+ [
+ 119,
+ -11,
+ -48,
+ -15,
+ -125,
+ -51,
+ 6
+ ],
+ [
+ 3,
+ 107,
+ 60,
+ 72,
+ 11,
+ -100,
+ 6
+ ],
+ [
+ -28,
+ 127,
+ -117,
+ 97,
+ 47,
+ -56,
+ 6
+ ],
+ [
+ 71,
+ 86,
+ -117,
+ -101,
+ 42,
+ 127,
+ 6
+ ],
+ [
+ -122,
+ 42,
+ -94,
+ 38,
+ 31,
+ -105,
+ 6
+ ],
+ [
+ 46,
+ 101,
+ 93,
+ -121,
+ -66,
+ -67,
+ 6
+ ],
+ [
+ 6,
+ 6,
+ 6,
+ 6,
+ 6,
+ 6,
+ 6
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/pad/pad_13x6_i8_pad0101/desc.json b/operators/data_layout/pad/pad_13x6_i8_pad0101/desc.json
new file mode 100644
index 000000000..3cd43b509
--- /dev/null
+++ b/operators/data_layout/pad/pad_13x6_i8_pad0101/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_pad0101/input-0.json b/operators/data_layout/pad/pad_13x6_i8_pad0101/input-0.json
new file mode 100644
index 000000000..ec077f87c
--- /dev/null
+++ b/operators/data_layout/pad/pad_13x6_i8_pad0101/input-0.json
@@ -0,0 +1,109 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 14,
+ -16,
+ 60,
+ -30,
+ -96,
+ 58
+ ],
+ [
+ -83,
+ 13,
+ 114,
+ 111,
+ -36,
+ 71
+ ],
+ [
+ 28,
+ -6,
+ -93,
+ -32,
+ 38,
+ 124
+ ],
+ [
+ -127,
+ 55,
+ 88,
+ 115,
+ -20,
+ -98
+ ],
+ [
+ -59,
+ 89,
+ 96,
+ 35,
+ -97,
+ -97
+ ],
+ [
+ -6,
+ 22,
+ -120,
+ 47,
+ 11,
+ -125
+ ],
+ [
+ -104,
+ -12,
+ 56,
+ 83,
+ -18,
+ -53
+ ],
+ [
+ 119,
+ -11,
+ -48,
+ -15,
+ -125,
+ -51
+ ],
+ [
+ 3,
+ 107,
+ 60,
+ 72,
+ 11,
+ -100
+ ],
+ [
+ -28,
+ 127,
+ -117,
+ 97,
+ 47,
+ -56
+ ],
+ [
+ 71,
+ 86,
+ -117,
+ -101,
+ 42,
+ 127
+ ],
+ [
+ -122,
+ 42,
+ -94,
+ 38,
+ 31,
+ -105
+ ],
+ [
+ 46,
+ 101,
+ 93,
+ -121,
+ -66,
+ -67
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/pad/pad_13x6_i8_pad0101/test.json b/operators/data_layout/pad/pad_13x6_i8_pad0101/test.json
new file mode 100644
index 000000000..57c8bacbc
--- /dev/null
+++ b/operators/data_layout/pad/pad_13x6_i8_pad0101/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,
+ 1,
+ 0,
+ 1
+ ],
+ 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: [
+ 14,
+ 7
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}