diff options
author | Grant Watson <grant.watson@arm.com> | 2023-10-31 19:02:14 +0000 |
---|---|---|
committer | Eric Kunze <eric.kunze@arm.com> | 2023-10-31 20:58:15 +0000 |
commit | ce53cd103cc2ac09b43b4fdf586249e626bd5627 (patch) | |
tree | fc2b664693a3d11587f9e875b6e3496d38f62a21 /reference_model/include | |
parent | 72dcab775c7a84037135bf365086ca976f3220ef (diff) | |
download | reference_model-ce53cd103cc2ac09b43b4fdf586249e626bd5627.tar.gz |
Fix Reshape in operator API
- The API incorrectly requires the new shape to be passed in twice.
- This fix changes the name of the attribute from new_shape to shape in the generate_api.py script.
- Adds a unit test to verify that the reshape operator works correctly.
Signed-off-by: Grant Watson <grant.watson@arm.com>
Change-Id: I07dd0ef786c747896b6e54f4eada0e7b97c6cef3
Diffstat (limited to 'reference_model/include')
-rw-r--r-- | reference_model/include/operators.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/reference_model/include/operators.h b/reference_model/include/operators.h index 1399233..e56b882 100644 --- a/reference_model/include/operators.h +++ b/reference_model/include/operators.h @@ -323,8 +323,6 @@ extern "C" tosa_status_t tosa_run_reshape(tosa_tensor_t client_input1, tosa_tensor_t client_shape, - const int32_t client_new_shape_len, - const int32_t client_new_shape[], tosa_tensor_t client_output, const func_ctx_t& func_ctx); |