bug fix to input and output tensor dimension
[Version] : 0.4.9
[Issue type] : bug fix
Fix tensor dimension value from ML single API correctly.
This issue has happened since below patch was committed,
892c8d2e9af9ce49e714a467063c45cd4ed28cba of machine_learning repo.
This is a temporary solution so it should be fixed with using
ML_TENSOR_RANK_LIMIT instead. As of now, ML_TENSOR_RANK_LIMIT is a fixed
value of 16. Ideally, if we set input or output tensor dimension to actual
tensor dimension value using ml_tensors_info_set_tensor_dimension function
then we should get same dimension value using
ml_tensors_info_get_tensor_dimension function. However, current version of
ml_tensors_info_get_tensor_dimension function always says a fixed value of 16.
Change-Id: Ie05f7be2b53a6d1c5a5dfcd36cbefc4320c05b5f
Signed-off-by: Inki Dae <inki.dae@samsung.com>