aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1
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/reshape/reshape_1x19_bf16_perm0_rank1
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/reshape/reshape_1x19_bf16_perm0_rank1')
-rw-r--r--operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/Conformance-result-0.json24
-rw-r--r--operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/desc.json23
-rw-r--r--operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/input-0.json26
-rw-r--r--operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/test.json53
4 files changed, 126 insertions, 0 deletions
diff --git a/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/Conformance-result-0.json b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/Conformance-result-0.json
new file mode 100644
index 000000000..dfc1bb6db
--- /dev/null
+++ b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/Conformance-result-0.json
@@ -0,0 +1,24 @@
+{
+ "type": "float32",
+ "data": [
+ 1.7734375,
+ -0.21875,
+ 0.69921875,
+ 1.359375,
+ 1.9609375,
+ -1.3515625,
+ 1.1953125,
+ 1.546875,
+ -1.796875,
+ 1.015625,
+ -0.578125,
+ 0.59375,
+ 0.05615234375,
+ -0.9609375,
+ -1.453125,
+ -1.53125,
+ -1.5859375,
+ 0.55078125,
+ -0.59375
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/desc.json b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/desc.json
new file mode 100644
index 000000000..d418e4060
--- /dev/null
+++ b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/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/reshape/reshape_1x19_bf16_perm0_rank1/input-0.json b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/input-0.json
new file mode 100644
index 000000000..ba03f5c81
--- /dev/null
+++ b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/input-0.json
@@ -0,0 +1,26 @@
+{
+ "type": "float32",
+ "data": [
+ [
+ 1.7734375,
+ -0.21875,
+ 0.69921875,
+ 1.359375,
+ 1.9609375,
+ -1.3515625,
+ 1.1953125,
+ 1.546875,
+ -1.796875,
+ 1.015625,
+ -0.578125,
+ 0.59375,
+ 0.05615234375,
+ -0.9609375,
+ -1.453125,
+ -1.53125,
+ -1.5859375,
+ 0.55078125,
+ -0.59375
+ ]
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/test.json b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/test.json
new file mode 100644
index 000000000..2b640f66a
--- /dev/null
+++ b/operators/data_layout/reshape/reshape_1x19_bf16_perm0_rank1/test.json
@@ -0,0 +1,53 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESHAPE",
+ attribute_type: "ReshapeAttribute",
+ attribute: {
+ new_shape: [
+ 19
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 1,
+ 19
+ ],
+ type: "BF16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 19
+ ],
+ type: "BF16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}