[CAPI] Modify model_compile_with_single_param() and ml_train_model_run_with_single_pa...
authorHyunil <hyunil46.park@samsung.com>
Mon, 13 Jun 2022 02:11:18 +0000 (11:11 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Wed, 15 Jun 2022 05:27:53 +0000 (14:27 +0900)
commit16051f61cee9dadbc00861185d6b01751cf87649
treef8f946d0e6288e0b285c6b3f09f4f539fa258ed3
parentf36bf5d8bb33783edd00ce6e1ff142fd2b7d9a82
[CAPI] Modify model_compile_with_single_param() and ml_train_model_run_with_single_param()

Modified the internal APIs created as a C# va_list issue since capi can receive
single string in the form "key=value | key=value" and all objects have loadProperties
in setProperty which can split it with '|'.
so, the original code was reverted and added new code related call capi directly.

**Self evaluation:**
1. Build test:   [X]Passed [ ]Failed [ ]Skipped
2. Run test:     [X]Passed [ ]Failed [ ]Skipped

Signed-off-by: Hyunil <hyunil46.park@samsung.com>
api/capi/include/nntrainer_internal.h
api/capi/src/nntrainer.cpp