aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00
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_WrongInputList_10_i32_pad00
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_WrongInputList_10_i32_pad00')
-rw-r--r--operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/desc.json22
-rw-r--r--operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/input-0.json15
-rw-r--r--operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/test.json55
3 files changed, 92 insertions, 0 deletions
diff --git a/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/desc.json b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/desc.json
new file mode 100644
index 000000000..bf7c1974a
--- /dev/null
+++ b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/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": "Op input list does not match expected input",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/input-0.json b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/input-0.json
new file mode 100644
index 000000000..e0a28c25c
--- /dev/null
+++ b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/input-0.json
@@ -0,0 +1,15 @@
+{
+ "type": "int32",
+ "data": [
+ -305900875,
+ 1037576683,
+ -847725146,
+ -612454062,
+ 87126029,
+ -611106117,
+ 1763667709,
+ 704157299,
+ -1764101389,
+ -1431856097
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/test.json b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/test.json
new file mode 100644
index 000000000..fe9c0cf3d
--- /dev/null
+++ b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10_i32_pad00/test.json
@@ -0,0 +1,55 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "PAD",
+ attribute_type: "PadAttribute",
+ attribute: {
+ padding: [
+ 0,
+ 0
+ ],
+ pad_const_int: -593510319,
+ pad_const_fp: 0.0
+ },
+ inputs: [
+
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10
+ ],
+ type: "INT32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10
+ ],
+ type: "INT32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}