aboutsummaryrefslogtreecommitdiff
path: root/operators/data_layout/reshape/reshape_ERRORIF_ReshapeOutputSizeMultiInference_10_f16_perm4_rank2_outinferred
diff options
context:
space:
mode:
Diffstat (limited to 'operators/data_layout/reshape/reshape_ERRORIF_ReshapeOutputSizeMultiInference_10_f16_perm4_rank2_outinferred')
-rw-r--r--operators/data_layout/reshape/reshape_ERRORIF_ReshapeOutputSizeMultiInference_10_f16_perm4_rank2_outinferred/desc.json21
-rw-r--r--operators/data_layout/reshape/reshape_ERRORIF_ReshapeOutputSizeMultiInference_10_f16_perm4_rank2_outinferred/input-0.json15
-rw-r--r--operators/data_layout/reshape/reshape_ERRORIF_ReshapeOutputSizeMultiInference_10_f16_perm4_rank2_outinferred/test.json59
3 files changed, 95 insertions, 0 deletions
diff --git a/operators/data_layout/reshape/reshape_ERRORIF_ReshapeOutputSizeMultiInference_10_f16_perm4_rank2_outinferred/desc.json b/operators/data_layout/reshape/reshape_ERRORIF_ReshapeOutputSizeMultiInference_10_f16_perm4_rank2_outinferred/desc.json
new file mode 100644
index 000000000..56c9e7181
--- /dev/null
+++ b/operators/data_layout/reshape/reshape_ERRORIF_ReshapeOutputSizeMultiInference_10_f16_perm4_rank2_outinferred/desc.json
@@ -0,0 +1,21 @@
+{
+ "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": "Reshape output tensor contains more than one inferred dimension",
+ "profile": [
+ "tosa-mi"
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/reshape/reshape_ERRORIF_ReshapeOutputSizeMultiInference_10_f16_perm4_rank2_outinferred/input-0.json b/operators/data_layout/reshape/reshape_ERRORIF_ReshapeOutputSizeMultiInference_10_f16_perm4_rank2_outinferred/input-0.json
new file mode 100644
index 000000000..3ebabb8fd
--- /dev/null
+++ b/operators/data_layout/reshape/reshape_ERRORIF_ReshapeOutputSizeMultiInference_10_f16_perm4_rank2_outinferred/input-0.json
@@ -0,0 +1,15 @@
+{
+ "type": "float16",
+ "data": [
+ 0.83447265625,
+ 0.4169921875,
+ 0.258056640625,
+ 0.235595703125,
+ 0.25537109375,
+ 0.5126953125,
+ 0.63232421875,
+ 0.91748046875,
+ 0.8251953125,
+ 0.75341796875
+ ]
+} \ No newline at end of file
diff --git a/operators/data_layout/reshape/reshape_ERRORIF_ReshapeOutputSizeMultiInference_10_f16_perm4_rank2_outinferred/test.json b/operators/data_layout/reshape/reshape_ERRORIF_ReshapeOutputSizeMultiInference_10_f16_perm4_rank2_outinferred/test.json
new file mode 100644
index 000000000..7516ca0f8
--- /dev/null
+++ b/operators/data_layout/reshape/reshape_ERRORIF_ReshapeOutputSizeMultiInference_10_f16_perm4_rank2_outinferred/test.json
@@ -0,0 +1,59 @@
+{
+ version: {
+ _major: 0,
+ _minor: 70,
+ _patch: 0,
+ _draft: true
+ },
+ regions: [
+ {
+ name: "main",
+ blocks: [
+ {
+ name: "main",
+ operators: [
+ {
+ op: "RESHAPE",
+ attribute_type: "ReshapeAttribute",
+ attribute: {
+ new_shape: [
+ -1,
+ -1
+ ]
+ },
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ],
+ tensors: [
+ {
+ name: "input-0",
+ shape: [
+ 10
+ ],
+ type: "FP16"
+ },
+ {
+ name: "result-0",
+ shape: [
+ -1,
+ -1
+ ],
+ type: "FP16"
+ }
+ ],
+ inputs: [
+ "input-0"
+ ],
+ outputs: [
+ "result-0"
+ ]
+ }
+ ]
+ }
+ ]
+}