[MachineLearning.Inference] Change internal rank limit and default value
authorYelin Jeong <yelini.jeong@samsung.com>
Fri, 28 Jul 2023 01:55:21 +0000 (10:55 +0900)
committerSangjung Woo <again4you@gmail.com>
Thu, 17 Aug 2023 06:45:23 +0000 (15:45 +0900)
commit41d8eeca0422891f996854266fcda16f5cba3947
tree982980313f917c40a52d2d266d2a3057c480dd33
parent49e4ce1ecea560831e48998f695e2537f4b86027
[MachineLearning.Inference] Change internal rank limit and default value

This patch changes internal rank limit in MachineLeanring.Inference.
To use higher rank limit, ml_tensors_info_create_extended is needed.
Also, default dimension value is changed to 0 from 1.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
src/Tizen.MachineLearning.Inference/Interop/Interop.Nnstreamer.cs
src/Tizen.MachineLearning.Inference/Tizen.MachineLearning.Inference/Commons.cs
src/Tizen.MachineLearning.Inference/Tizen.MachineLearning.Inference/TensorsInfo.cs
src/Tizen.MachineLearning.Train/Tizen.MachineLearning.Train/Model.cs