aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/tile/tile_ERRORIF_WrongInputList_6x4_f16_perm2
diff options
context:
space:
mode:
Diffstat (limited to 'operators/data_layout/tile/tile_ERRORIF_WrongInputList_6x4_f16_perm2')
-rw-r--r--operators/data_layout/tile/tile_ERRORIF_WrongInputList_6x4_f16_perm2/desc.json21
-rw-r--r--operators/data_layout/tile/tile_ERRORIF_WrongInputList_6x4_f16_perm2/input-0.json41
-rw-r--r--operators/data_layout/tile/tile_ERRORIF_WrongInputList_6x4_f16_perm2/test.json61
3 files changed, 123 insertions, 0 deletions
diff --git a/operators/data_layout/tile/tile_ERRORIF_WrongInputList_6x4_f16_perm2/desc.json b/operators/data_layout/tile/tile_ERRORIF_WrongInputList_6x4_f16_perm2/desc.json
new file mode 100644
index 000000000..b4526f1cb
--- /dev/null
+++ b/operators/data_layout/tile/tile_ERRORIF_WrongInputList_6x4_f16_perm2/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/tile/tile_ERRORIF_WrongInputList_6x4_f16_perm2/input-0.json b/operators/data_layout/tile/tile_ERRORIF_WrongInputList_6x4_f16_perm2/input-0.json
new file mode 100644
index 000000000..379f18ab8
--- /dev/null
+++ b/operators/data_layout/tile/tile_ERRORIF_WrongInputList_6x4_f16_perm2/input-0.json
@@ -0,0 +1,41 @@
+{
+ "type": "float16",
+ "data": [
+ [
+ 0.6962890625,
+ 0.251708984375,
+ 0.62646484375,
+ 0.462646484375
+ ],
+ [
+ 0.482177734375,
+ 0.55126953125,
+ 0.5703125,
+ 0.7099609375
+ ],
+ [
+ 0.452392578125,
+ 0.72265625,
+ 0.48583984375,
+ 0.66259765625
+ ],
+ [
+ 0.26318359375,
+ 0.54150390625,
+ 0.468017578125,
+ 0.30224609375
+ ],
+ [
+ 0.06231689453125,
+ 0.51025390625,
+ 0.00975799560546875,
+ 0.389892578125
+ ],
+ [
+ 0.37060546875,
+ 0.6337890625,
+ 0.9873046875,
+ 0.85791015625
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/tile/tile_ERRORIF_WrongInputList_6x4_f16_perm2/test.json b/operators/data_layout/tile/tile_ERRORIF_WrongInputList_6x4_f16_perm2/test.json
new file mode 100644
index 000000000..4deafbea2
--- /dev/null
+++ b/operators/data_layout/tile/tile_ERRORIF_WrongInputList_6x4_f16_perm2/test.json
@@ -0,0 +1,61 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "TILE",
+ attribute_type: "TileAttribute",
+ attribute: {
+ multiples: [
+ 3,
+ 2
+ ]
+ },
+ inputs: [
+ "input-0",
+ "eiDummyInput"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 6,
+ 4
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 18,
+ 8
+ ],
+ type: "FP16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}