aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/pad/pad_ERRORIF_WrongInputList_4x12x4_bf16_pad001100
diff options
context:
space:
mode:
Diffstat (limited to 'operators/data_layout/pad/pad_ERRORIF_WrongInputList_4x12x4_bf16_pad001100')
-rw-r--r--operators/data_layout/pad/pad_ERRORIF_WrongInputList_4x12x4_bf16_pad001100/desc.json21
-rw-r--r--operators/data_layout/pad/pad_ERRORIF_WrongInputList_4x12x4_bf16_pad001100/input-0.json301
-rw-r--r--operators/data_layout/pad/pad_ERRORIF_WrongInputList_4x12x4_bf16_pad001100/test.json74
3 files changed, 396 insertions, 0 deletions
diff --git a/operators/data_layout/pad/pad_ERRORIF_WrongInputList_4x12x4_bf16_pad001100/desc.json b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_4x12x4_bf16_pad001100/desc.json
new file mode 100644
index 000000000..b4526f1cb
--- /dev/null
+++ b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_4x12x4_bf16_pad001100/desc.json
@@ -0,0 +1,21 @@
+{
+ "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-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/pad/pad_ERRORIF_WrongInputList_4x12x4_bf16_pad001100/input-0.json b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_4x12x4_bf16_pad001100/input-0.json
new file mode 100644
index 000000000..70a0f9f72
--- /dev/null
+++ b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_4x12x4_bf16_pad001100/input-0.json
@@ -0,0 +1,301 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ [
+ 0.251953125,
+ 0.5703125,
+ 0.78125,
+ 0.0830078125
+ ],
+ [
+ 0.9921875,
+ 0.0064697265625,
+ 0.486328125,
+ 0.28125
+ ],
+ [
+ 0.59765625,
+ 0.07373046875,
+ 0.41015625,
+ 0.83984375
+ ],
+ [
+ 0.73046875,
+ 0.28125,
+ 0.01531982421875,
+ 0.37109375
+ ],
+ [
+ 0.126953125,
+ 0.291015625,
+ 0.1875,
+ 0.1044921875
+ ],
+ [
+ 0.396484375,
+ 0.6640625,
+ 0.75,
+ 0.025390625
+ ],
+ [
+ 0.78125,
+ 0.51953125,
+ 0.1279296875,
+ 0.66796875
+ ],
+ [
+ 0.73828125,
+ 0.6953125,
+ 0.09521484375,
+ 0.62890625
+ ],
+ [
+ 0.294921875,
+ 0.8125,
+ 0.6171875,
+ 0.5625
+ ],
+ [
+ 0.62890625,
+ 0.162109375,
+ 0.6796875,
+ 0.1259765625
+ ],
+ [
+ 0.7734375,
+ 0.640625,
+ 0.74609375,
+ 0.86328125
+ ],
+ [
+ 0.76953125,
+ 0.09375,
+ 0.94140625,
+ 0.396484375
+ ]
+ ],
+ [
+ [
+ 0.72265625,
+ 0.73828125,
+ 0.1845703125,
+ 0.4296875
+ ],
+ [
+ 0.419921875,
+ 0.51953125,
+ 0.1572265625,
+ 0.1572265625
+ ],
+ [
+ 0.1943359375,
+ 0.83984375,
+ 0.921875,
+ 0.251953125
+ ],
+ [
+ 0.40234375,
+ 0.8359375,
+ 0.96875,
+ 0.1962890625
+ ],
+ [
+ 0.490234375,
+ 0.71484375,
+ 0.5859375,
+ 0.392578125
+ ],
+ [
+ 0.3671875,
+ 0.671875,
+ 0.56640625,
+ 0.1279296875
+ ],
+ [
+ 0.765625,
+ 0.5625,
+ 0.76953125,
+ 0.322265625
+ ],
+ [
+ 0.6796875,
+ 0.032470703125,
+ 0.6875,
+ 0.5859375
+ ],
+ [
+ 0.04541015625,
+ 0.453125,
+ 0.41015625,
+ 0.69921875
+ ],
+ [
+ 0.828125,
+ 0.1630859375,
+ 0.1845703125,
+ 0.8515625
+ ],
+ [
+ 0.5859375,
+ 0.361328125,
+ 0.197265625,
+ 0.91796875
+ ],
+ [
+ 0.984375,
+ 0.038818359375,
+ 0.87109375,
+ 0.490234375
+ ]
+ ],
+ [
+ [
+ 0.322265625,
+ 0.74609375,
+ 0.8984375,
+ 0.6796875
+ ],
+ [
+ 0.98046875,
+ 0.7265625,
+ 0.51953125,
+ 0.9375
+ ],
+ [
+ 0.6796875,
+ 0.271484375,
+ 0.76953125,
+ 0.63671875
+ ],
+ [
+ 0.6875,
+ 0.96875,
+ 0.37109375,
+ 0.82421875
+ ],
+ [
+ 0.1875,
+ 0.341796875,
+ 0.44140625,
+ 0.78125
+ ],
+ [
+ 0.0830078125,
+ 0.9921875,
+ 0.15234375,
+ 0.1826171875
+ ],
+ [
+ 0.97265625,
+ 0.1767578125,
+ 0.6484375,
+ 0.2080078125
+ ],
+ [
+ 0.5703125,
+ 0.1904296875,
+ 0.01513671875,
+ 0.69921875
+ ],
+ [
+ 0.83203125,
+ 0.87109375,
+ 0.59765625,
+ 0.18359375
+ ],
+ [
+ 0.455078125,
+ 0.7421875,
+ 0.9140625,
+ 0.220703125
+ ],
+ [
+ 0.76171875,
+ 0.03173828125,
+ 0.81640625,
+ 0.4453125
+ ],
+ [
+ 0.77734375,
+ 0.16796875,
+ 0.2734375,
+ 0.63671875
+ ]
+ ],
+ [
+ [
+ 0.96484375,
+ 0.66796875,
+ 0.41015625,
+ 0.66796875
+ ],
+ [
+ 0.15625,
+ 0.53515625,
+ 0.15625,
+ 0.890625
+ ],
+ [
+ 0.4296875,
+ 0.76953125,
+ 0.79296875,
+ 0.185546875
+ ],
+ [
+ 0.10009765625,
+ 0.8125,
+ 0.61328125,
+ 0.5546875
+ ],
+ [
+ 0.16015625,
+ 0.75390625,
+ 0.365234375,
+ 0.2265625
+ ],
+ [
+ 0.6328125,
+ 0.08740234375,
+ 0.44921875,
+ 0.53125
+ ],
+ [
+ 0.59375,
+ 0.296875,
+ 0.25,
+ 0.2021484375
+ ],
+ [
+ 0.8515625,
+ 0.455078125,
+ 0.80859375,
+ 0.87109375
+ ],
+ [
+ 0.8203125,
+ 0.91796875,
+ 0.470703125,
+ 0.55078125
+ ],
+ [
+ 0.44921875,
+ 0.060791015625,
+ 0.400390625,
+ 0.298828125
+ ],
+ [
+ 0.2578125,
+ 0.80078125,
+ 0.66015625,
+ 0.52734375
+ ],
+ [
+ 0.326171875,
+ 0.98828125,
+ 0.369140625,
+ 0.6875
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/pad/pad_ERRORIF_WrongInputList_4x12x4_bf16_pad001100/test.json b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_4x12x4_bf16_pad001100/test.json
new file mode 100644
index 000000000..1c31b37dd
--- /dev/null
+++ b/operators/data_layout/pad/pad_ERRORIF_WrongInputList_4x12x4_bf16_pad001100/test.json
@@ -0,0 +1,74 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "PAD",
+ attribute_type: "PadAttribute",
+ attribute: {
+ padding: [
+ 0,
+ 0,
+ 1,
+ 1,
+ 0,
+ 0
+ ],
+ pad_const_int: 0,
+ pad_const_fp: [
+ 0,
+ 0,
+ 230,
+ 62
+ ]
+ },
+ inputs: [
+ "input-0",
+ "eiDummyInput"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 4,
+ 12,
+ 4
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 4,
+ 14,
+ 4
+ ],
+ type: "BF16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}