diff options
Diffstat (limited to 'operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_13_i8_perm0_rank1')
3 files changed, 88 insertions, 0 deletions
diff --git a/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_13_i8_perm0_rank1/desc.json b/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_13_i8_perm0_rank1/desc.json new file mode 100644 index 000000000..06cfbe931 --- /dev/null +++ b/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_13_i8_perm0_rank1/desc.json @@ -0,0 +1,18 @@ +{ + "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" +}
\ No newline at end of file diff --git a/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_13_i8_perm0_rank1/input-0.json b/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_13_i8_perm0_rank1/input-0.json new file mode 100644 index 000000000..97a0e1c98 --- /dev/null +++ b/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_13_i8_perm0_rank1/input-0.json @@ -0,0 +1,18 @@ +{ + "type": "int32", + "data": [ + -44, + -69, + 72, + -55, + -53, + 52, + 4, + 63, + -102, + 117, + -68, + -98, + -101 + ] +}
\ No newline at end of file diff --git a/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_13_i8_perm0_rank1/test.json b/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_13_i8_perm0_rank1/test.json new file mode 100644 index 000000000..23b531308 --- /dev/null +++ b/operators/data_layout/reshape/reshape_ERRORIF_TensorSizeInputOutputMismatch_13_i8_perm0_rank1/test.json @@ -0,0 +1,52 @@ +{ + version: { + _major: 0, + _minor: 30, + _patch: 0, + _draft: false + }, + blocks: [ + { + name: "main", + operators: [ + { + op: "RESHAPE", + attribute_type: "ReshapeAttribute", + attribute: { + new_shape: [ + 13 + ] + }, + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ], + tensors: [ + { + name: "input-0", + shape: [ + 13 + ], + type: "INT8" + }, + { + name: "result-0", + shape: [ + 16 + ], + type: "INT8" + } + ], + inputs: [ + "input-0" + ], + outputs: [ + "result-0" + ] + } + ] +} |