aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/reverse/reverse_31_f32_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_31_f32_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_31_f32_axis0')
-rw-r--r--operators/data_layout/reverse/reverse_31_f32_axis0/Conformance-result-0.json36
-rw-r--r--operators/data_layout/reverse/reverse_31_f32_axis0/desc.json23
-rw-r--r--operators/data_layout/reverse/reverse_31_f32_axis0/input-0.json36
-rw-r--r--operators/data_layout/reverse/reverse_31_f32_axis0/test.json50
4 files changed, 145 insertions, 0 deletions
diff --git a/operators/data_layout/reverse/reverse_31_f32_axis0/Conformance-result-0.json b/operators/data_layout/reverse/reverse_31_f32_axis0/Conformance-result-0.json
new file mode 100644
index 000000000..311ba9ccc
--- /dev/null
+++ b/operators/data_layout/reverse/reverse_31_f32_axis0/Conformance-result-0.json
@@ -0,0 +1,36 @@
+{
+ "type": "float32",
+ "data": [
+ -0.15249107778072357,
+ 0.8894373774528503,
+ -1.6398085355758667,
+ -1.9091516733169556,
+ -1.3321083784103394,
+ 1.2560815811157227,
+ -0.3744525611400604,
+ 0.657254159450531,
+ 1.1355928182601929,
+ 0.2281286120414734,
+ 0.6476660370826721,
+ -0.825624942779541,
+ -0.8744644522666931,
+ -1.7667890787124634,
+ -1.0642420053482056,
+ 1.4136122465133667,
+ -0.3658854365348816,
+ -1.141661286354065,
+ -0.2531304359436035,
+ -1.8767286539077759,
+ -0.784199595451355,
+ 0.23682864010334015,
+ 0.21431760489940643,
+ 0.5388732552528381,
+ 1.059995412826538,
+ 0.2609444260597229,
+ -0.11561517417430878,
+ 0.6736118197441101,
+ -1.541879653930664,
+ -1.4408119916915894,
+ 0.2749647796154022
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/reverse/reverse_31_f32_axis0/desc.json b/operators/data_layout/reverse/reverse_31_f32_axis0/desc.json
new file mode 100644
index 000000000..d418e4060
--- /dev/null
+++ b/operators/data_layout/reverse/reverse_31_f32_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_31_f32_axis0/input-0.json b/operators/data_layout/reverse/reverse_31_f32_axis0/input-0.json
new file mode 100644
index 000000000..8dffbb41a
--- /dev/null
+++ b/operators/data_layout/reverse/reverse_31_f32_axis0/input-0.json
@@ -0,0 +1,36 @@
+{
+ "type": "float32",
+ "data": [
+ 0.2749647796154022,
+ -1.4408119916915894,
+ -1.541879653930664,
+ 0.6736118197441101,
+ -0.11561517417430878,
+ 0.2609444260597229,
+ 1.059995412826538,
+ 0.5388732552528381,
+ 0.21431760489940643,
+ 0.23682864010334015,
+ -0.784199595451355,
+ -1.8767286539077759,
+ -0.2531304359436035,
+ -1.141661286354065,
+ -0.3658854365348816,
+ 1.4136122465133667,
+ -1.0642420053482056,
+ -1.7667890787124634,
+ -0.8744644522666931,
+ -0.825624942779541,
+ 0.6476660370826721,
+ 0.2281286120414734,
+ 1.1355928182601929,
+ 0.657254159450531,
+ -0.3744525611400604,
+ 1.2560815811157227,
+ -1.3321083784103394,
+ -1.9091516733169556,
+ -1.6398085355758667,
+ 0.8894373774528503,
+ -0.15249107778072357
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/reverse/reverse_31_f32_axis0/test.json b/operators/data_layout/reverse/reverse_31_f32_axis0/test.json
new file mode 100644
index 000000000..217cf6fdb
--- /dev/null
+++ b/operators/data_layout/reverse/reverse_31_f32_axis0/test.json
@@ -0,0 +1,50 @@
+{
+ 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: [
+ 31
+ ],
+ type: "FP32"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 31
+ ],
+ type: "FP32"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}