aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/tile/tile_5x28_bf16_perm0
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_5x28_bf16_perm0
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_5x28_bf16_perm0')
-rw-r--r--operators/data_layout/tile/tile_5x28_bf16_perm0/Conformance-result-0.json455
-rw-r--r--operators/data_layout/tile/tile_5x28_bf16_perm0/desc.json23
-rw-r--r--operators/data_layout/tile/tile_5x28_bf16_perm0/input-0.json155
-rw-r--r--operators/data_layout/tile/tile_5x28_bf16_perm0/test.json55
4 files changed, 688 insertions, 0 deletions
diff --git a/operators/data_layout/tile/tile_5x28_bf16_perm0/Conformance-result-0.json b/operators/data_layout/tile/tile_5x28_bf16_perm0/Conformance-result-0.json
new file mode 100644
index 000000000..00f37f25a
--- /dev/null
+++ b/operators/data_layout/tile/tile_5x28_bf16_perm0/Conformance-result-0.json
@@ -0,0 +1,455 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ -1.1640625,
+ 1.0,
+ -1.5234375,
+ -1.6484375,
+ -1.2890625,
+ -1.296875,
+ 1.2890625,
+ -0.404296875,
+ 1.9609375,
+ -1.4453125,
+ 0.61328125,
+ -0.205078125,
+ -0.427734375,
+ 1.5,
+ 1.8984375,
+ 1.484375,
+ -1.2265625,
+ -1.109375,
+ 0.62109375,
+ -0.83984375,
+ 0.9375,
+ 0.265625,
+ 0.203125,
+ 1.3125,
+ 0.83984375,
+ -1.890625,
+ -1.796875,
+ 0.404296875
+ ],
+ [
+ -0.05517578125,
+ -0.95703125,
+ -0.32421875,
+ 1.03125,
+ 1.3046875,
+ 0.244140625,
+ -0.45703125,
+ -0.9140625,
+ 0.08740234375,
+ -0.73828125,
+ 0.255859375,
+ 0.703125,
+ -1.734375,
+ -1.9921875,
+ -1.1484375,
+ 1.5703125,
+ 0.58203125,
+ -1.3046875,
+ 1.5546875,
+ -0.1201171875,
+ -0.09521484375,
+ 1.734375,
+ -1.7578125,
+ -1.1328125,
+ 0.341796875,
+ -1.2109375,
+ 0.71484375,
+ -1.140625
+ ],
+ [
+ -1.6015625,
+ -1.171875,
+ -0.30859375,
+ -1.2890625,
+ -1.4609375,
+ 1.4375,
+ -0.71484375,
+ -0.5546875,
+ -1.7734375,
+ -0.5703125,
+ -0.9375,
+ 0.44140625,
+ -1.171875,
+ 1.546875,
+ 1.7109375,
+ -1.59375,
+ -1.5703125,
+ -1.53125,
+ 0.4765625,
+ -1.5078125,
+ 1.40625,
+ 1.015625,
+ 1.2734375,
+ 0.10400390625,
+ 1.984375,
+ -1.8203125,
+ -0.39453125,
+ -0.703125
+ ],
+ [
+ 1.7890625,
+ 0.306640625,
+ 1.21875,
+ -1.3125,
+ 1.9140625,
+ -0.00543212890625,
+ -0.0252685546875,
+ 1.8828125,
+ -0.4765625,
+ -0.408203125,
+ 0.337890625,
+ -1.484375,
+ -0.71484375,
+ -1.2265625,
+ -1.5859375,
+ 1.4609375,
+ 0.35546875,
+ -0.5625,
+ -0.365234375,
+ -0.2734375,
+ 0.53125,
+ 1.703125,
+ 1.7265625,
+ -0.43359375,
+ -0.6796875,
+ -0.1953125,
+ 0.271484375,
+ -0.15234375
+ ],
+ [
+ 0.6328125,
+ 0.216796875,
+ -0.71484375,
+ -0.61328125,
+ -0.484375,
+ -1.6171875,
+ -1.328125,
+ 0.890625,
+ -0.443359375,
+ -1.140625,
+ 0.25,
+ 1.015625,
+ -0.96875,
+ 1.3046875,
+ 1.703125,
+ 0.388671875,
+ 0.67578125,
+ -1.7890625,
+ 1.78125,
+ -0.4296875,
+ 1.6953125,
+ 0.314453125,
+ -1.9765625,
+ -1.84375,
+ 0.71875,
+ 0.25,
+ -1.890625,
+ 0.97265625
+ ],
+ [
+ -1.1640625,
+ 1.0,
+ -1.5234375,
+ -1.6484375,
+ -1.2890625,
+ -1.296875,
+ 1.2890625,
+ -0.404296875,
+ 1.9609375,
+ -1.4453125,
+ 0.61328125,
+ -0.205078125,
+ -0.427734375,
+ 1.5,
+ 1.8984375,
+ 1.484375,
+ -1.2265625,
+ -1.109375,
+ 0.62109375,
+ -0.83984375,
+ 0.9375,
+ 0.265625,
+ 0.203125,
+ 1.3125,
+ 0.83984375,
+ -1.890625,
+ -1.796875,
+ 0.404296875
+ ],
+ [
+ -0.05517578125,
+ -0.95703125,
+ -0.32421875,
+ 1.03125,
+ 1.3046875,
+ 0.244140625,
+ -0.45703125,
+ -0.9140625,
+ 0.08740234375,
+ -0.73828125,
+ 0.255859375,
+ 0.703125,
+ -1.734375,
+ -1.9921875,
+ -1.1484375,
+ 1.5703125,
+ 0.58203125,
+ -1.3046875,
+ 1.5546875,
+ -0.1201171875,
+ -0.09521484375,
+ 1.734375,
+ -1.7578125,
+ -1.1328125,
+ 0.341796875,
+ -1.2109375,
+ 0.71484375,
+ -1.140625
+ ],
+ [
+ -1.6015625,
+ -1.171875,
+ -0.30859375,
+ -1.2890625,
+ -1.4609375,
+ 1.4375,
+ -0.71484375,
+ -0.5546875,
+ -1.7734375,
+ -0.5703125,
+ -0.9375,
+ 0.44140625,
+ -1.171875,
+ 1.546875,
+ 1.7109375,
+ -1.59375,
+ -1.5703125,
+ -1.53125,
+ 0.4765625,
+ -1.5078125,
+ 1.40625,
+ 1.015625,
+ 1.2734375,
+ 0.10400390625,
+ 1.984375,
+ -1.8203125,
+ -0.39453125,
+ -0.703125
+ ],
+ [
+ 1.7890625,
+ 0.306640625,
+ 1.21875,
+ -1.3125,
+ 1.9140625,
+ -0.00543212890625,
+ -0.0252685546875,
+ 1.8828125,
+ -0.4765625,
+ -0.408203125,
+ 0.337890625,
+ -1.484375,
+ -0.71484375,
+ -1.2265625,
+ -1.5859375,
+ 1.4609375,
+ 0.35546875,
+ -0.5625,
+ -0.365234375,
+ -0.2734375,
+ 0.53125,
+ 1.703125,
+ 1.7265625,
+ -0.43359375,
+ -0.6796875,
+ -0.1953125,
+ 0.271484375,
+ -0.15234375
+ ],
+ [
+ 0.6328125,
+ 0.216796875,
+ -0.71484375,
+ -0.61328125,
+ -0.484375,
+ -1.6171875,
+ -1.328125,
+ 0.890625,
+ -0.443359375,
+ -1.140625,
+ 0.25,
+ 1.015625,
+ -0.96875,
+ 1.3046875,
+ 1.703125,
+ 0.388671875,
+ 0.67578125,
+ -1.7890625,
+ 1.78125,
+ -0.4296875,
+ 1.6953125,
+ 0.314453125,
+ -1.9765625,
+ -1.84375,
+ 0.71875,
+ 0.25,
+ -1.890625,
+ 0.97265625
+ ],
+ [
+ -1.1640625,
+ 1.0,
+ -1.5234375,
+ -1.6484375,
+ -1.2890625,
+ -1.296875,
+ 1.2890625,
+ -0.404296875,
+ 1.9609375,
+ -1.4453125,
+ 0.61328125,
+ -0.205078125,
+ -0.427734375,
+ 1.5,
+ 1.8984375,
+ 1.484375,
+ -1.2265625,
+ -1.109375,
+ 0.62109375,
+ -0.83984375,
+ 0.9375,
+ 0.265625,
+ 0.203125,
+ 1.3125,
+ 0.83984375,
+ -1.890625,
+ -1.796875,
+ 0.404296875
+ ],
+ [
+ -0.05517578125,
+ -0.95703125,
+ -0.32421875,
+ 1.03125,
+ 1.3046875,
+ 0.244140625,
+ -0.45703125,
+ -0.9140625,
+ 0.08740234375,
+ -0.73828125,
+ 0.255859375,
+ 0.703125,
+ -1.734375,
+ -1.9921875,
+ -1.1484375,
+ 1.5703125,
+ 0.58203125,
+ -1.3046875,
+ 1.5546875,
+ -0.1201171875,
+ -0.09521484375,
+ 1.734375,
+ -1.7578125,
+ -1.1328125,
+ 0.341796875,
+ -1.2109375,
+ 0.71484375,
+ -1.140625
+ ],
+ [
+ -1.6015625,
+ -1.171875,
+ -0.30859375,
+ -1.2890625,
+ -1.4609375,
+ 1.4375,
+ -0.71484375,
+ -0.5546875,
+ -1.7734375,
+ -0.5703125,
+ -0.9375,
+ 0.44140625,
+ -1.171875,
+ 1.546875,
+ 1.7109375,
+ -1.59375,
+ -1.5703125,
+ -1.53125,
+ 0.4765625,
+ -1.5078125,
+ 1.40625,
+ 1.015625,
+ 1.2734375,
+ 0.10400390625,
+ 1.984375,
+ -1.8203125,
+ -0.39453125,
+ -0.703125
+ ],
+ [
+ 1.7890625,
+ 0.306640625,
+ 1.21875,
+ -1.3125,
+ 1.9140625,
+ -0.00543212890625,
+ -0.0252685546875,
+ 1.8828125,
+ -0.4765625,
+ -0.408203125,
+ 0.337890625,
+ -1.484375,
+ -0.71484375,
+ -1.2265625,
+ -1.5859375,
+ 1.4609375,
+ 0.35546875,
+ -0.5625,
+ -0.365234375,
+ -0.2734375,
+ 0.53125,
+ 1.703125,
+ 1.7265625,
+ -0.43359375,
+ -0.6796875,
+ -0.1953125,
+ 0.271484375,
+ -0.15234375
+ ],
+ [
+ 0.6328125,
+ 0.216796875,
+ -0.71484375,
+ -0.61328125,
+ -0.484375,
+ -1.6171875,
+ -1.328125,
+ 0.890625,
+ -0.443359375,
+ -1.140625,
+ 0.25,
+ 1.015625,
+ -0.96875,
+ 1.3046875,
+ 1.703125,
+ 0.388671875,
+ 0.67578125,
+ -1.7890625,
+ 1.78125,
+ -0.4296875,
+ 1.6953125,
+ 0.314453125,
+ -1.9765625,
+ -1.84375,
+ 0.71875,
+ 0.25,
+ -1.890625,
+ 0.97265625
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/tile/tile_5x28_bf16_perm0/desc.json b/operators/data_layout/tile/tile_5x28_bf16_perm0/desc.json
new file mode 100644
index 000000000..d418e4060
--- /dev/null
+++ b/operators/data_layout/tile/tile_5x28_bf16_perm0/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_5x28_bf16_perm0/input-0.json b/operators/data_layout/tile/tile_5x28_bf16_perm0/input-0.json
new file mode 100644
index 000000000..676c91d9d
--- /dev/null
+++ b/operators/data_layout/tile/tile_5x28_bf16_perm0/input-0.json
@@ -0,0 +1,155 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ -1.1640625,
+ 1.0,
+ -1.5234375,
+ -1.6484375,
+ -1.2890625,
+ -1.296875,
+ 1.2890625,
+ -0.404296875,
+ 1.9609375,
+ -1.4453125,
+ 0.61328125,
+ -0.205078125,
+ -0.427734375,
+ 1.5,
+ 1.8984375,
+ 1.484375,
+ -1.2265625,
+ -1.109375,
+ 0.62109375,
+ -0.83984375,
+ 0.9375,
+ 0.265625,
+ 0.203125,
+ 1.3125,
+ 0.83984375,
+ -1.890625,
+ -1.796875,
+ 0.404296875
+ ],
+ [
+ -0.05517578125,
+ -0.95703125,
+ -0.32421875,
+ 1.03125,
+ 1.3046875,
+ 0.244140625,
+ -0.45703125,
+ -0.9140625,
+ 0.08740234375,
+ -0.73828125,
+ 0.255859375,
+ 0.703125,
+ -1.734375,
+ -1.9921875,
+ -1.1484375,
+ 1.5703125,
+ 0.58203125,
+ -1.3046875,
+ 1.5546875,
+ -0.1201171875,
+ -0.09521484375,
+ 1.734375,
+ -1.7578125,
+ -1.1328125,
+ 0.341796875,
+ -1.2109375,
+ 0.71484375,
+ -1.140625
+ ],
+ [
+ -1.6015625,
+ -1.171875,
+ -0.30859375,
+ -1.2890625,
+ -1.4609375,
+ 1.4375,
+ -0.71484375,
+ -0.5546875,
+ -1.7734375,
+ -0.5703125,
+ -0.9375,
+ 0.44140625,
+ -1.171875,
+ 1.546875,
+ 1.7109375,
+ -1.59375,
+ -1.5703125,
+ -1.53125,
+ 0.4765625,
+ -1.5078125,
+ 1.40625,
+ 1.015625,
+ 1.2734375,
+ 0.10400390625,
+ 1.984375,
+ -1.8203125,
+ -0.39453125,
+ -0.703125
+ ],
+ [
+ 1.7890625,
+ 0.306640625,
+ 1.21875,
+ -1.3125,
+ 1.9140625,
+ -0.00543212890625,
+ -0.0252685546875,
+ 1.8828125,
+ -0.4765625,
+ -0.408203125,
+ 0.337890625,
+ -1.484375,
+ -0.71484375,
+ -1.2265625,
+ -1.5859375,
+ 1.4609375,
+ 0.35546875,
+ -0.5625,
+ -0.365234375,
+ -0.2734375,
+ 0.53125,
+ 1.703125,
+ 1.7265625,
+ -0.43359375,
+ -0.6796875,
+ -0.1953125,
+ 0.271484375,
+ -0.15234375
+ ],
+ [
+ 0.6328125,
+ 0.216796875,
+ -0.71484375,
+ -0.61328125,
+ -0.484375,
+ -1.6171875,
+ -1.328125,
+ 0.890625,
+ -0.443359375,
+ -1.140625,
+ 0.25,
+ 1.015625,
+ -0.96875,
+ 1.3046875,
+ 1.703125,
+ 0.388671875,
+ 0.67578125,
+ -1.7890625,
+ 1.78125,
+ -0.4296875,
+ 1.6953125,
+ 0.314453125,
+ -1.9765625,
+ -1.84375,
+ 0.71875,
+ 0.25,
+ -1.890625,
+ 0.97265625
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/tile/tile_5x28_bf16_perm0/test.json b/operators/data_layout/tile/tile_5x28_bf16_perm0/test.json
new file mode 100644
index 000000000..065991e06
--- /dev/null
+++ b/operators/data_layout/tile/tile_5x28_bf16_perm0/test.json
@@ -0,0 +1,55 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "TILE",
+ attribute_type: "TileAttribute",
+ attribute: {
+ multiples: [
+ 3,
+ 1
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 5,
+ 28
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 15,
+ 28
+ ],
+ type: "BF16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}