aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/tile/tile_ERRORIF_RankMismatch_10x3x8_i8_perm0
diff options
context:
space:
mode:
Diffstat (limited to 'operators/data_layout/tile/tile_ERRORIF_RankMismatch_10x3x8_i8_perm0')
-rw-r--r--operators/data_layout/tile/tile_ERRORIF_RankMismatch_10x3x8_i8_perm0/desc.json22
-rw-r--r--operators/data_layout/tile/tile_ERRORIF_RankMismatch_10x3x8_i8_perm0/input-0.json325
-rw-r--r--operators/data_layout/tile/tile_ERRORIF_RankMismatch_10x3x8_i8_perm0/test.json65
3 files changed, 412 insertions, 0 deletions
diff --git a/operators/data_layout/tile/tile_ERRORIF_RankMismatch_10x3x8_i8_perm0/desc.json b/operators/data_layout/tile/tile_ERRORIF_RankMismatch_10x3x8_i8_perm0/desc.json
new file mode 100644
index 000000000..41275b4d0
--- /dev/null
+++ b/operators/data_layout/tile/tile_ERRORIF_RankMismatch_10x3x8_i8_perm0/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": "Input Rank does not match output rank",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/tile/tile_ERRORIF_RankMismatch_10x3x8_i8_perm0/input-0.json b/operators/data_layout/tile/tile_ERRORIF_RankMismatch_10x3x8_i8_perm0/input-0.json
new file mode 100644
index 000000000..3d00bb152
--- /dev/null
+++ b/operators/data_layout/tile/tile_ERRORIF_RankMismatch_10x3x8_i8_perm0/input-0.json
@@ -0,0 +1,325 @@
+{
+ "type": "int32",
+ "data": [
+ [
+ [
+ -54,
+ 126,
+ -49,
+ 56,
+ 2,
+ -121,
+ -90,
+ -109
+ ],
+ [
+ -99,
+ 83,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
+ -63,
+ 81,
+ 94
+ ],
+ [
+ -40,
+ -99,
+ 71,
+ -94,
+ -63,
+ 80,
+ -20,
+ -73
+ ],
+ [
+ 25,
+ -128,
+ -82,
+ 19,
+ -2,
+ 20,
+ 22,
+ 38
+ ]
+ ],
+ [
+ [
+ -53,
+ 31,
+ 42,
+ -42,
+ -110,
+ 45,
+ 39,
+ 39
+ ],
+ [
+ 108,
+ 37,
+ -114,
+ 109,
+ 35,
+ -86,
+ -39,
+ 73
+ ],
+ [
+ 28,
+ -90,
+ -88,
+ 104,
+ -14,
+ -126,
+ 82,
+ -17
+ ]
+ ],
+ [
+ [
+ 65,
+ 75,
+ -40,
+ -1,
+ -86,
+ 77,
+ 54,
+ -73
+ ],
+ [
+ 72,
+ -69,
+ -27,
+ 54,
+ -5,
+ 92,
+ -20,
+ -70
+ ],
+ [
+ 60,
+ 54,
+ 114,
+ 39,
+ 122,
+ 72,
+ -39,
+ 43
+ ]
+ ],
+ [
+ [
+ 43,
+ 45,
+ 83,
+ 127,
+ 67,
+ 61,
+ -122,
+ -3
+ ],
+ [
+ 83,
+ -37,
+ 28,
+ -90,
+ -112,
+ 38,
+ 57,
+ -106
+ ],
+ [
+ 26,
+ -66,
+ -78,
+ -105,
+ -83,
+ 79,
+ -49,
+ -122
+ ]
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/tile/tile_ERRORIF_RankMismatch_10x3x8_i8_perm0/test.json b/operators/data_layout/tile/tile_ERRORIF_RankMismatch_10x3x8_i8_perm0/test.json
new file mode 100644
index 000000000..6e4e0f1a7
--- /dev/null
+++ b/operators/data_layout/tile/tile_ERRORIF_RankMismatch_10x3x8_i8_perm0/test.json
@@ -0,0 +1,65 @@
+{
+ version: {
+ _major: 0,
+ _minor: 51,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "TILE",
+ attribute_type: "TileAttribute",
+ attribute: {
+ multiples: [
+ 1,
+ 1,
+ 3
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10,
+ 3,
+ 8
+ ],
+ type: "INT8"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 10,
+ 3,
+ 24,
+ 1,
+ 1
+ ],
+ type: "INT8"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}