Fix the value of ML_TENSOR_RANK_LIMIT 01/294501/1
authorSangjung Woo <sangjung.woo@samsung.com>
Fri, 7 Apr 2023 08:51:01 +0000 (17:51 +0900)
committerSangjung Woo <sangjung.woo@samsung.com>
Fri, 16 Jun 2023 10:00:21 +0000 (19:00 +0900)
commit34f0576d3f2da38d652feb87b6029e3577469bbe
tree85385c78886c2c5c9b3531e644bb0ca64ede008b
parentfb0e799a1f2d17fd7b7fdc90d4ef63344b62258e
Fix the value of ML_TENSOR_RANK_LIMIT

To support the higher rank of the ML model, the ML_TENSOR_RANK_LIMIT
of the ML API was changed from 4 to 16. However, the webapi-plugins
assume that ML_TENSOR_RANK_LIMIT is 4 and it causes the build break issue.
This patch fixes this issue and update related test cases.

Change-Id: I05ab7fa0a5ba28476f38170d9f9c4e7396d35981
Signed-off-by: Sangjung Woo <sangjung.woo@samsung.com>
Signed-off-by: Piotr Kosko/Tizen API (PLT) /SRPOL/Engineer/Samsung Electronics <p.kosko@samsung.com>
src/ml/ml_instance.cc
src/ml/ml_tensors_data_manager.cc
src/ml/ml_tensors_data_manager.h
src/ml/ml_tensors_info_manager.cc
src/ml/ml_tensors_info_manager.h
src/ml/ml_utils.cc
src/ml/ml_utils.h
src/ml/ut/tensor_raw_data.cc