aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/pad/pad_ERRORIF_PadOutputShapeMismatch_10x11_i8_pad0000
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 12:50:15 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 12:50:15 +0100
commitcf8989f6250721418177c5b78cdedb7b6c56f74d (patch)
tree032b16f5831f3cbf110cb4f056c9550ee7381eb9 /operators/data_layout/pad/pad_ERRORIF_PadOutputShapeMismatch_10x11_i8_pad0000
parentd2d22b3e074fa6be55ca3d568540e820e50f44be (diff)
downloadconformance_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/pad/pad_ERRORIF_PadOutputShapeMismatch_10x11_i8_pad0000')
-rw-r--r--operators/data_layout/pad/pad_ERRORIF_PadOutputShapeMismatch_10x11_i8_pad0000/desc.json22
-rw-r--r--operators/data_layout/pad/pad_ERRORIF_PadOutputShapeMismatch_10x11_i8_pad0000/input-0.json135
-rw-r--r--operators/data_layout/pad/pad_ERRORIF_PadOutputShapeMismatch_10x11_i8_pad0000/test.json59
3 files changed, 216 insertions, 0 deletions
diff --git a/operators/data_layout/pad/pad_ERRORIF_PadOutputShapeMismatch_10x11_i8_pad0000/desc.json b/operators/data_layout/pad/pad_ERRORIF_PadOutputShapeMismatch_10x11_i8_pad0000/desc.json
new file mode 100644
index 000000000..f703d976c
--- /dev/null
+++ b/operators/data_layout/pad/pad_ERRORIF_PadOutputShapeMismatch_10x11_i8_pad0000/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": "Pad output shape mismatch for requested padding",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/pad/pad_ERRORIF_PadOutputShapeMismatch_10x11_i8_pad0000/input-0.json b/operators/data_layout/pad/pad_ERRORIF_PadOutputShapeMismatch_10x11_i8_pad0000/input-0.json
new file mode 100644
index 000000000..716f66afc
--- /dev/null
+++ b/operators/data_layout/pad/pad_ERRORIF_PadOutputShapeMismatch_10x11_i8_pad0000/input-0.json
@@ -0,0 +1,135 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 103,
+ -102,
+ -115,
+ -114,
+ 72,
+ -56,
+ -23,
+ -33,
+ -99,
+ 64,
+ 45
+ ],
+ [
+ 99,
+ 110,
+ -71,
+ 52,
+ 110,
+ -86,
+ 36,
+ -29,
+ 60,
+ -56,
+ 49
+ ],
+ [
+ -107,
+ -14,
+ -46,
+ 2,
+ 122,
+ -68,
+ -128,
+ 24,
+ -39,
+ -51,
+ 96
+ ],
+ [
+ 28,
+ -91,
+ 56,
+ -78,
+ 111,
+ -87,
+ -79,
+ -74,
+ 65,
+ -101,
+ 99
+ ],
+ [
+ 17,
+ -13,
+ -57,
+ -64,
+ 13,
+ 16,
+ -44,
+ -19,
+ 122,
+ -55,
+ -115
+ ],
+ [
+ -125,
+ 95,
+ 119,
+ 62,
+ -26,
+ -104,
+ -48,
+ 23,
+ -98,
+ 42,
+ -126
+ ],
+ [
+ -97,
+ -70,
+ -44,
+ -93,
+ -49,
+ 107,
+ 27,
+ -81,
+ 37,
+ 17,
+ 50
+ ],
+ [
+ -12,
+ -112,
+ -13,
+ 97,
+ 90,
+ 81,
+ -35,
+ 10,
+ -34,
+ 112,
+ 32
+ ],
+ [
+ -59,
+ 1,
+ -56,
+ 45,
+ -116,
+ 60,
+ -17,
+ -76,
+ 83,
+ 34,
+ -7
+ ],
+ [
+ -56,
+ -57,
+ -82,
+ 125,
+ 51,
+ 124,
+ -27,
+ 96,
+ -36,
+ 19,
+ -104
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/pad/pad_ERRORIF_PadOutputShapeMismatch_10x11_i8_pad0000/test.json b/operators/data_layout/pad/pad_ERRORIF_PadOutputShapeMismatch_10x11_i8_pad0000/test.json
new file mode 100644
index 000000000..db218963d
--- /dev/null
+++ b/operators/data_layout/pad/pad_ERRORIF_PadOutputShapeMismatch_10x11_i8_pad0000/test.json
@@ -0,0 +1,59 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "PAD",
+ attribute_type: "PadAttribute",
+ attribute: {
+ padding: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ pad_const_int: -104,
+ pad_const_fp: 0.0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 11
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10,
+ 10
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}