aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/tile/tile_23_bf16_perm3
diff options
context:
space:
mode:
authorJames Ward <james.ward@arm.com>2022-11-21 11:51:55 +0000
committerJames Ward <james.ward@arm.com>2022-11-21 11:51:55 +0000
commitd8e6b6b5148a3d61b378e6e5259ca421a709abef (patch)
tree2ec785497e47a644c12d57f22a306b0749d22735 /operators/data_layout/tile/tile_23_bf16_perm3
parentda333bee0fae850bf90f422d68902884b6063cce (diff)
downloadconformance_tests-d8e6b6b5148a3d61b378e6e5259ca421a709abef.tar.gz
Create MI tests for Data Layout: CONCAT, PAD, RESHAPE, REVERSE, SLICE, TILE, TRANSPOSE
Signed-off-by: James Ward <james.ward@arm.com> Change-Id: Icbbe8f63e35d04a3b2cc64bd760ca92c22fd4aa7
Diffstat (limited to 'operators/data_layout/tile/tile_23_bf16_perm3')
-rw-r--r--operators/data_layout/tile/tile_23_bf16_perm3/Conformance-result-0.json74
-rw-r--r--operators/data_layout/tile/tile_23_bf16_perm3/desc.json23
-rw-r--r--operators/data_layout/tile/tile_23_bf16_perm3/input-0.json28
-rw-r--r--operators/data_layout/tile/tile_23_bf16_perm3/test.json52
4 files changed, 177 insertions, 0 deletions
diff --git a/operators/data_layout/tile/tile_23_bf16_perm3/Conformance-result-0.json b/operators/data_layout/tile/tile_23_bf16_perm3/Conformance-result-0.json
new file mode 100644
index 000000000..8abe6dc7c
--- /dev/null
+++ b/operators/data_layout/tile/tile_23_bf16_perm3/Conformance-result-0.json
@@ -0,0 +1,74 @@
+{
+ "type": "float32",
+ "data": [
+ 0.7734375,
+ 0.32421875,
+ -1.1953125,
+ 1.2109375,
+ 0.859375,
+ 0.953125,
+ -1.46875,
+ -1.5,
+ 1.703125,
+ -0.408203125,
+ -0.79296875,
+ -0.045654296875,
+ 0.6484375,
+ 1.8203125,
+ -0.8515625,
+ 1.6953125,
+ -1.8984375,
+ 0.220703125,
+ 0.53515625,
+ -1.5703125,
+ -1.4375,
+ -0.322265625,
+ 1.859375,
+ 0.7734375,
+ 0.32421875,
+ -1.1953125,
+ 1.2109375,
+ 0.859375,
+ 0.953125,
+ -1.46875,
+ -1.5,
+ 1.703125,
+ -0.408203125,
+ -0.79296875,
+ -0.045654296875,
+ 0.6484375,
+ 1.8203125,
+ -0.8515625,
+ 1.6953125,
+ -1.8984375,
+ 0.220703125,
+ 0.53515625,
+ -1.5703125,
+ -1.4375,
+ -0.322265625,
+ 1.859375,
+ 0.7734375,
+ 0.32421875,
+ -1.1953125,
+ 1.2109375,
+ 0.859375,
+ 0.953125,
+ -1.46875,
+ -1.5,
+ 1.703125,
+ -0.408203125,
+ -0.79296875,
+ -0.045654296875,
+ 0.6484375,
+ 1.8203125,
+ -0.8515625,
+ 1.6953125,
+ -1.8984375,
+ 0.220703125,
+ 0.53515625,
+ -1.5703125,
+ -1.4375,
+ -0.322265625,
+ 1.859375
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/tile/tile_23_bf16_perm3/desc.json b/operators/data_layout/tile/tile_23_bf16_perm3/desc.json
new file mode 100644
index 000000000..d418e4060
--- /dev/null
+++ b/operators/data_layout/tile/tile_23_bf16_perm3/desc.json
@@ -0,0 +1,23 @@
+{
+ "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": 0,
+ "expected_failure": false,
+ "expected_result_file": [
+ "Conformance-result-0.npy"
+ ],
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/tile/tile_23_bf16_perm3/input-0.json b/operators/data_layout/tile/tile_23_bf16_perm3/input-0.json
new file mode 100644
index 000000000..62c2b07ba
--- /dev/null
+++ b/operators/data_layout/tile/tile_23_bf16_perm3/input-0.json
@@ -0,0 +1,28 @@
+{
+ "type": "float32",
+ "data": [
+ 0.7734375,
+ 0.32421875,
+ -1.1953125,
+ 1.2109375,
+ 0.859375,
+ 0.953125,
+ -1.46875,
+ -1.5,
+ 1.703125,
+ -0.408203125,
+ -0.79296875,
+ -0.045654296875,
+ 0.6484375,
+ 1.8203125,
+ -0.8515625,
+ 1.6953125,
+ -1.8984375,
+ 0.220703125,
+ 0.53515625,
+ -1.5703125,
+ -1.4375,
+ -0.322265625,
+ 1.859375
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/tile/tile_23_bf16_perm3/test.json b/operators/data_layout/tile/tile_23_bf16_perm3/test.json
new file mode 100644
index 000000000..7615bc412
--- /dev/null
+++ b/operators/data_layout/tile/tile_23_bf16_perm3/test.json
@@ -0,0 +1,52 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "TILE",
+ attribute_type: "TileAttribute",
+ attribute: {
+ multiples: [
+ 3
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 23
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 69
+ ],
+ type: "BF16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}