aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/reverse/reverse_41x5_bf16_axis0
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/reverse/reverse_41x5_bf16_axis0
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/reverse/reverse_41x5_bf16_axis0')
-rw-r--r--operators/data_layout/reverse/reverse_41x5_bf16_axis0/Conformance-result-0.json292
-rw-r--r--operators/data_layout/reverse/reverse_41x5_bf16_axis0/desc.json23
-rw-r--r--operators/data_layout/reverse/reverse_41x5_bf16_axis0/input-0.json292
-rw-r--r--operators/data_layout/reverse/reverse_41x5_bf16_axis0/test.json52
4 files changed, 659 insertions, 0 deletions
diff --git a/operators/data_layout/reverse/reverse_41x5_bf16_axis0/Conformance-result-0.json b/operators/data_layout/reverse/reverse_41x5_bf16_axis0/Conformance-result-0.json
new file mode 100644
index 000000000..d9aee39bc
--- /dev/null
+++ b/operators/data_layout/reverse/reverse_41x5_bf16_axis0/Conformance-result-0.json
@@ -0,0 +1,292 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ -0.421875,
+ 0.94921875,
+ -0.96875,
+ 1.0078125,
+ 0.0166015625
+ ],
+ [
+ 1.4375,
+ 1.2890625,
+ 0.1552734375,
+ 1.2734375,
+ -1.625
+ ],
+ [
+ -1.859375,
+ 0.60546875,
+ 1.2890625,
+ -1.3203125,
+ -1.40625
+ ],
+ [
+ -1.7265625,
+ -1.78125,
+ -1.9921875,
+ -0.25390625,
+ 1.09375
+ ],
+ [
+ -1.421875,
+ 1.515625,
+ -1.609375,
+ -1.3828125,
+ 0.134765625
+ ],
+ [
+ -0.7109375,
+ 0.9921875,
+ 1.203125,
+ -0.034912109375,
+ 1.5703125
+ ],
+ [
+ -0.5859375,
+ 1.1484375,
+ 1.328125,
+ 1.28125,
+ -0.33203125
+ ],
+ [
+ -0.7265625,
+ -0.154296875,
+ -0.30078125,
+ -1.7890625,
+ 0.6875
+ ],
+ [
+ 1.9921875,
+ 0.0654296875,
+ -1.6171875,
+ 0.91015625,
+ 1.90625
+ ],
+ [
+ 0.2080078125,
+ 0.0030517578125,
+ 0.7421875,
+ 0.609375,
+ 1.9609375
+ ],
+ [
+ 0.65234375,
+ -1.546875,
+ 1.328125,
+ -1.2890625,
+ -0.3046875
+ ],
+ [
+ -1.71875,
+ -1.4453125,
+ 1.15625,
+ -0.9140625,
+ 1.5390625
+ ],
+ [
+ -1.3828125,
+ -0.30859375,
+ 0.478515625,
+ 1.7265625,
+ 1.921875
+ ],
+ [
+ 1.09375,
+ -1.53125,
+ -0.439453125,
+ 1.9921875,
+ -1.2265625
+ ],
+ [
+ -1.96875,
+ -0.65234375,
+ 1.1875,
+ 1.3515625,
+ -1.4453125
+ ],
+ [
+ -0.359375,
+ -1.1171875,
+ 1.2578125,
+ 1.4375,
+ -1.328125
+ ],
+ [
+ -1.0390625,
+ 0.578125,
+ -0.83984375,
+ -0.96875,
+ 0.34375
+ ],
+ [
+ 0.9765625,
+ 1.0546875,
+ 1.046875,
+ -0.0771484375,
+ -0.173828125
+ ],
+ [
+ -1.015625,
+ 1.6484375,
+ 1.6953125,
+ 1.3671875,
+ 1.90625
+ ],
+ [
+ -0.7109375,
+ 0.177734375,
+ -0.04052734375,
+ 0.52734375,
+ -0.66015625
+ ],
+ [
+ 1.5,
+ 0.439453125,
+ -0.2236328125,
+ 1.7421875,
+ 1.4140625
+ ],
+ [
+ 1.8984375,
+ -0.400390625,
+ 0.73828125,
+ -1.90625,
+ -0.3984375
+ ],
+ [
+ 1.8046875,
+ 0.439453125,
+ -0.9765625,
+ 0.5,
+ -0.71484375
+ ],
+ [
+ 0.6953125,
+ 1.640625,
+ -1.1875,
+ 0.16796875,
+ 0.8046875
+ ],
+ [
+ 0.66796875,
+ -1.4765625,
+ -0.8984375,
+ -1.4453125,
+ -0.86328125
+ ],
+ [
+ -0.69140625,
+ -1.203125,
+ 1.109375,
+ 1.4375,
+ -1.0078125
+ ],
+ [
+ -1.6328125,
+ 0.66796875,
+ 0.62109375,
+ 0.6484375,
+ -1.9140625
+ ],
+ [
+ 0.5859375,
+ -0.62890625,
+ -0.3671875,
+ -0.2392578125,
+ -1.4921875
+ ],
+ [
+ 0.2470703125,
+ 0.87890625,
+ 0.03564453125,
+ 1.625,
+ -0.322265625
+ ],
+ [
+ -0.7890625,
+ 1.7890625,
+ -0.53125,
+ 0.953125,
+ -0.38671875
+ ],
+ [
+ 1.5625,
+ 0.99609375,
+ 1.9609375,
+ 0.125,
+ 0.63671875
+ ],
+ [
+ -1.2890625,
+ 0.7109375,
+ 1.3828125,
+ -1.8359375,
+ -0.201171875
+ ],
+ [
+ 0.63671875,
+ 0.3984375,
+ -0.1083984375,
+ 1.796875,
+ -0.62890625
+ ],
+ [
+ -0.427734375,
+ 1.6796875,
+ -0.72265625,
+ 0.90234375,
+ -0.1552734375
+ ],
+ [
+ -1.75,
+ -0.166015625,
+ -1.4765625,
+ -1.390625,
+ 0.52734375
+ ],
+ [
+ -0.2470703125,
+ 0.5546875,
+ -1.984375,
+ 1.96875,
+ -0.875
+ ],
+ [
+ 0.490234375,
+ 1.0,
+ 1.171875,
+ -1.1484375,
+ 1.6875
+ ],
+ [
+ 1.6796875,
+ -0.6328125,
+ -1.796875,
+ -0.62890625,
+ 1.171875
+ ],
+ [
+ 1.953125,
+ 1.265625,
+ 0.96484375,
+ -0.12451171875,
+ -1.3828125
+ ],
+ [
+ 0.431640625,
+ -0.1396484375,
+ -0.396484375,
+ 0.126953125,
+ -1.25
+ ],
+ [
+ -0.984375,
+ -1.875,
+ -1.5234375,
+ 1.6640625,
+ -0.7109375
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/reverse/reverse_41x5_bf16_axis0/desc.json b/operators/data_layout/reverse/reverse_41x5_bf16_axis0/desc.json
new file mode 100644
index 000000000..d418e4060
--- /dev/null
+++ b/operators/data_layout/reverse/reverse_41x5_bf16_axis0/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/reverse/reverse_41x5_bf16_axis0/input-0.json b/operators/data_layout/reverse/reverse_41x5_bf16_axis0/input-0.json
new file mode 100644
index 000000000..0ace9ea82
--- /dev/null
+++ b/operators/data_layout/reverse/reverse_41x5_bf16_axis0/input-0.json
@@ -0,0 +1,292 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ -0.984375,
+ -1.875,
+ -1.5234375,
+ 1.6640625,
+ -0.7109375
+ ],
+ [
+ 0.431640625,
+ -0.1396484375,
+ -0.396484375,
+ 0.126953125,
+ -1.25
+ ],
+ [
+ 1.953125,
+ 1.265625,
+ 0.96484375,
+ -0.12451171875,
+ -1.3828125
+ ],
+ [
+ 1.6796875,
+ -0.6328125,
+ -1.796875,
+ -0.62890625,
+ 1.171875
+ ],
+ [
+ 0.490234375,
+ 1.0,
+ 1.171875,
+ -1.1484375,
+ 1.6875
+ ],
+ [
+ -0.2470703125,
+ 0.5546875,
+ -1.984375,
+ 1.96875,
+ -0.875
+ ],
+ [
+ -1.75,
+ -0.166015625,
+ -1.4765625,
+ -1.390625,
+ 0.52734375
+ ],
+ [
+ -0.427734375,
+ 1.6796875,
+ -0.72265625,
+ 0.90234375,
+ -0.1552734375
+ ],
+ [
+ 0.63671875,
+ 0.3984375,
+ -0.1083984375,
+ 1.796875,
+ -0.62890625
+ ],
+ [
+ -1.2890625,
+ 0.7109375,
+ 1.3828125,
+ -1.8359375,
+ -0.201171875
+ ],
+ [
+ 1.5625,
+ 0.99609375,
+ 1.9609375,
+ 0.125,
+ 0.63671875
+ ],
+ [
+ -0.7890625,
+ 1.7890625,
+ -0.53125,
+ 0.953125,
+ -0.38671875
+ ],
+ [
+ 0.2470703125,
+ 0.87890625,
+ 0.03564453125,
+ 1.625,
+ -0.322265625
+ ],
+ [
+ 0.5859375,
+ -0.62890625,
+ -0.3671875,
+ -0.2392578125,
+ -1.4921875
+ ],
+ [
+ -1.6328125,
+ 0.66796875,
+ 0.62109375,
+ 0.6484375,
+ -1.9140625
+ ],
+ [
+ -0.69140625,
+ -1.203125,
+ 1.109375,
+ 1.4375,
+ -1.0078125
+ ],
+ [
+ 0.66796875,
+ -1.4765625,
+ -0.8984375,
+ -1.4453125,
+ -0.86328125
+ ],
+ [
+ 0.6953125,
+ 1.640625,
+ -1.1875,
+ 0.16796875,
+ 0.8046875
+ ],
+ [
+ 1.8046875,
+ 0.439453125,
+ -0.9765625,
+ 0.5,
+ -0.71484375
+ ],
+ [
+ 1.8984375,
+ -0.400390625,
+ 0.73828125,
+ -1.90625,
+ -0.3984375
+ ],
+ [
+ 1.5,
+ 0.439453125,
+ -0.2236328125,
+ 1.7421875,
+ 1.4140625
+ ],
+ [
+ -0.7109375,
+ 0.177734375,
+ -0.04052734375,
+ 0.52734375,
+ -0.66015625
+ ],
+ [
+ -1.015625,
+ 1.6484375,
+ 1.6953125,
+ 1.3671875,
+ 1.90625
+ ],
+ [
+ 0.9765625,
+ 1.0546875,
+ 1.046875,
+ -0.0771484375,
+ -0.173828125
+ ],
+ [
+ -1.0390625,
+ 0.578125,
+ -0.83984375,
+ -0.96875,
+ 0.34375
+ ],
+ [
+ -0.359375,
+ -1.1171875,
+ 1.2578125,
+ 1.4375,
+ -1.328125
+ ],
+ [
+ -1.96875,
+ -0.65234375,
+ 1.1875,
+ 1.3515625,
+ -1.4453125
+ ],
+ [
+ 1.09375,
+ -1.53125,
+ -0.439453125,
+ 1.9921875,
+ -1.2265625
+ ],
+ [
+ -1.3828125,
+ -0.30859375,
+ 0.478515625,
+ 1.7265625,
+ 1.921875
+ ],
+ [
+ -1.71875,
+ -1.4453125,
+ 1.15625,
+ -0.9140625,
+ 1.5390625
+ ],
+ [
+ 0.65234375,
+ -1.546875,
+ 1.328125,
+ -1.2890625,
+ -0.3046875
+ ],
+ [
+ 0.2080078125,
+ 0.0030517578125,
+ 0.7421875,
+ 0.609375,
+ 1.9609375
+ ],
+ [
+ 1.9921875,
+ 0.0654296875,
+ -1.6171875,
+ 0.91015625,
+ 1.90625
+ ],
+ [
+ -0.7265625,
+ -0.154296875,
+ -0.30078125,
+ -1.7890625,
+ 0.6875
+ ],
+ [
+ -0.5859375,
+ 1.1484375,
+ 1.328125,
+ 1.28125,
+ -0.33203125
+ ],
+ [
+ -0.7109375,
+ 0.9921875,
+ 1.203125,
+ -0.034912109375,
+ 1.5703125
+ ],
+ [
+ -1.421875,
+ 1.515625,
+ -1.609375,
+ -1.3828125,
+ 0.134765625
+ ],
+ [
+ -1.7265625,
+ -1.78125,
+ -1.9921875,
+ -0.25390625,
+ 1.09375
+ ],
+ [
+ -1.859375,
+ 0.60546875,
+ 1.2890625,
+ -1.3203125,
+ -1.40625
+ ],
+ [
+ 1.4375,
+ 1.2890625,
+ 0.1552734375,
+ 1.2734375,
+ -1.625
+ ],
+ [
+ -0.421875,
+ 0.94921875,
+ -0.96875,
+ 1.0078125,
+ 0.0166015625
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/reverse/reverse_41x5_bf16_axis0/test.json b/operators/data_layout/reverse/reverse_41x5_bf16_axis0/test.json
new file mode 100644
index 000000000..3af9e46a3
--- /dev/null
+++ b/operators/data_layout/reverse/reverse_41x5_bf16_axis0/test.json
@@ -0,0 +1,52 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "REVERSE",
+ attribute_type: "AxisAttribute",
+ attribute: {
+ axis: 0
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 41,
+ 5
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 41,
+ 5
+ ],
+ type: "BF16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}