aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1
diff options
context:
space:
mode:
authorJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 12:50:15 +0100
committerJeremy Johnson <jeremy.johnson@arm.com>2022-10-13 12:50:15 +0100
commitcf8989f6250721418177c5b78cdedb7b6c56f74d (patch)
tree032b16f5831f3cbf110cb4f056c9550ee7381eb9 /operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1
parentd2d22b3e074fa6be55ca3d568540e820e50f44be (diff)
downloadconformance_tests-cf8989f6250721418177c5b78cdedb7b6c56f74d.tar.gz
Updating DATA_LAYOUT tests for FP16 and accumulator types
Signed-off-by: Jeremy Johnson <jeremy.johnson@arm.com> Change-Id: I605e4528c4b31c393e4a8ee88de332ecbc2f1421
Diffstat (limited to 'operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1')
-rw-r--r--operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1/desc.json22
-rw-r--r--operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1/input-0.json16
-rw-r--r--operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1/test.json52
3 files changed, 90 insertions, 0 deletions
diff --git a/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1/desc.json b/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1/desc.json
new file mode 100644
index 000000000..1d8d88d8f
--- /dev/null
+++ b/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1/desc.json
@@ -0,0 +1,22 @@
+{
+ "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": 2,
+ "expected_failure": true,
+ "expected_failure_desc": "Input tensor size does not match output tensor size",
+ "profile": [
+ "tosa-bi",
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1/input-0.json b/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1/input-0.json
new file mode 100644
index 000000000..e2ca827ea
--- /dev/null
+++ b/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1/input-0.json
@@ -0,0 +1,16 @@
+{
+ "type": "int32",
+ "data": [
+ 7271,
+ 27743,
+ 3218,
+ -9468,
+ 24191,
+ -3987,
+ 6881,
+ -23902,
+ 517,
+ -4830,
+ -24707
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1/test.json b/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1/test.json
new file mode 100644
index 000000000..bfe9179d4
--- /dev/null
+++ b/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_11_i16_perm1_rank1/test.json
@@ -0,0 +1,52 @@
+{
+ version: {
+ _major: 0,
+ _minor: 41,
+ _patch: 0,
+ _draft: true
+ },
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESHAPE",
+ attribute_type: "ReshapeAttribute",
+ attribute: {
+ new_shape: [
+ 11
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 11
+ ],
+ type: "INT16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ 13
+ ],
+ type: "INT16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+}