aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10x12_i8_pad0000
diff options
context:
space:
mode:
Diffstat (limited to 'operators/data_layout/pad/pad_ERRORIF_WrongInputList_10x12_i8_pad0000')
-rw-r--r--operators/data_layout/pad/pad_ERRORIF_WrongInputList_10x12_i8_pad0000/desc.json22
-rw-r--r--operators/data_layout/pad/pad_ERRORIF_WrongInputList_10x12_i8_pad0000/input-0.json145
-rw-r--r--operators/data_layout/pad/pad_ERRORIF_WrongInputList_10x12_i8_pad0000/test.json60
3 files changed, 227 insertions, 0 deletions
diff --git a/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10x12_i8_pad0000/desc.json b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10x12_i8_pad0000/desc.json
new file mode 100644
index 000000000..bf7c1974a
--- /dev/null
+++ b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10x12_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": "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_10x12_i8_pad0000/input-0.json b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10x12_i8_pad0000/input-0.json
new file mode 100644
index 000000000..6273194b7
--- /dev/null
+++ b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10x12_i8_pad0000/input-0.json
@@ -0,0 +1,145 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ 62,
+ -31,
+ -45,
+ -31,
+ -48,
+ 41,
+ 76,
+ -32,
+ -18,
+ -91,
+ -75,
+ -34
+ ],
+ [
+ -67,
+ -52,
+ -76,
+ -23,
+ 14,
+ -54,
+ -19,
+ -69,
+ -56,
+ -64,
+ 20,
+ 1
+ ],
+ [
+ -44,
+ -74,
+ 79,
+ 40,
+ -95,
+ 40,
+ -53,
+ 32,
+ -16,
+ -107,
+ 37,
+ 121
+ ],
+ [
+ 113,
+ 24,
+ 9,
+ -103,
+ 3,
+ -79,
+ 54,
+ -116,
+ 23,
+ 92,
+ 28,
+ 47
+ ],
+ [
+ -108,
+ -125,
+ 126,
+ 53,
+ -92,
+ -15,
+ -52,
+ -68,
+ -99,
+ -50,
+ 116,
+ 48
+ ],
+ [
+ 24,
+ 13,
+ 20,
+ 112,
+ 100,
+ 92,
+ -105,
+ -100,
+ -56,
+ -61,
+ -17,
+ 39
+ ],
+ [
+ -39,
+ -89,
+ 14,
+ 120,
+ 52,
+ 113,
+ 84,
+ 45,
+ 92,
+ -31,
+ 105,
+ 91
+ ],
+ [
+ -71,
+ -91,
+ -9,
+ 111,
+ 65,
+ 82,
+ -119,
+ 112,
+ -43,
+ -3,
+ -66,
+ -120
+ ],
+ [
+ -7,
+ 9,
+ 43,
+ 95,
+ -29,
+ -5,
+ 85,
+ -31,
+ 74,
+ 57,
+ -34,
+ 50
+ ],
+ [
+ 98,
+ -107,
+ 6,
+ -62,
+ -11,
+ 31,
+ 42,
+ -58,
+ 28,
+ -40,
+ -14,
+ 65
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10x12_i8_pad0000/test.json b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10x12_i8_pad0000/test.json
new file mode 100644
index 000000000..e0bf9496f
--- /dev/null
+++ b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_10x12_i8_pad0000/test.json
@@ -0,0 +1,60 @@
+{
+ version: {
+ _major: 0,
+ _minor: 31,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "PAD",
+ attribute_type: "PadAttribute",
+ attribute: {
+ padding: [
+ 0,
+ 0,
+ 0,
+ 0
+ ],
+ pad_const_int: 22,
+ pad_const_fp: 0.0
+ },
+ inputs: [
+ "input-0",
+ "eiDummyInput"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 12
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10,
+ 12
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}