aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/tile/tile_ERRORIF_RankMismatch_2_bf16_perm0
diff options
context:
space:
mode:
Diffstat (limited to 'operators/data_layout/tile/tile_ERRORIF_RankMismatch_2_bf16_perm0')
-rw-r--r--operators/data_layout/tile/tile_ERRORIF_RankMismatch_2_bf16_perm0/desc.json21
-rw-r--r--operators/data_layout/tile/tile_ERRORIF_RankMismatch_2_bf16_perm0/input-0.json7
-rw-r--r--operators/data_layout/tile/tile_ERRORIF_RankMismatch_2_bf16_perm0/test.json60
3 files changed, 88 insertions, 0 deletions
diff --git a/operators/data_layout/tile/tile_ERRORIF_RankMismatch_2_bf16_perm0/desc.json b/operators/data_layout/tile/tile_ERRORIF_RankMismatch_2_bf16_perm0/desc.json
new file mode 100644
index 000000000..584857b19
--- /dev/null
+++ b/operators/data_layout/tile/tile_ERRORIF_RankMismatch_2_bf16_perm0/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": "Input Rank does not match output rank",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/tile/tile_ERRORIF_RankMismatch_2_bf16_perm0/input-0.json b/operators/data_layout/tile/tile_ERRORIF_RankMismatch_2_bf16_perm0/input-0.json
new file mode 100644
index 000000000..2809948ef
--- /dev/null
+++ b/operators/data_layout/tile/tile_ERRORIF_RankMismatch_2_bf16_perm0/input-0.json
@@ -0,0 +1,7 @@
+{
+ "type": "float32",
+ "data": [
+ 0.91796875,
+ 0.953125
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/tile/tile_ERRORIF_RankMismatch_2_bf16_perm0/test.json b/operators/data_layout/tile/tile_ERRORIF_RankMismatch_2_bf16_perm0/test.json
new file mode 100644
index 000000000..114087f51
--- /dev/null
+++ b/operators/data_layout/tile/tile_ERRORIF_RankMismatch_2_bf16_perm0/test.json
@@ -0,0 +1,60 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "TILE",
+ attribute_type: "TileAttribute",
+ attribute: {
+ multiples: [
+ 1
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 2
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 2,
+ 1,
+ 1,
+ 1
+ ],
+ type: "BF16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}