[CAPI] Reflect feature review
authorJihoon Lee <jhoon.it.lee@samsung.com>
Thu, 19 Aug 2021 02:28:44 +0000 (11:28 +0900)
committerJijoong Moon <jijoong.moon@samsung.com>
Fri, 20 Aug 2021 08:20:16 +0000 (17:20 +0900)
This patch reflects feature review.

**Changes Proposed**
- Adding Not Supported enum

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

Signed-off-by: Jihoon Lee <jhoon.it.lee@samsung.com>
api/capi/include/nntrainer.h

index 6e344e4a3c38275ccfd926b46a1eaf956ac9633b..f9a7b91037408217f06d348f40d15452cc72ea6c 100644 (file)
@@ -565,6 +565,7 @@ int ml_train_dataset_set_property_for_mode(ml_train_dataset_h dataset,
  * save.
  * @return @c 0 on success, Otherwise a negative error value.
  * @retval #ML_ERROR_NONE Successful.
+ * @retval #ML_ERROR_NOT_SUPPORTED Not supported.
  * @retval #ML_ERROR_PERMISSION_DENIED Permission denied.
  * @retval #ML_ERROR_INVALID_PARAMETER The given @a file_path is
  * invalid or taken, or @a model is not compiled.
@@ -595,6 +596,7 @@ int ml_train_model_save(ml_train_model_h model, const char *file_path,
  * load.
  * @return @c 0 on success, Otherwise a negative error value.
  * @retval #ML_ERROR_NONE Successful.
+ * @retval #ML_ERROR_NOT_SUPPORTED Not supported.
  * @retval #ML_ERROR_PERMISSION_DENIED Permission denied.
  * @retval #ML_ERROR_INVALID_PARAMETER The given @a file_path is
  * invalid or @a model is not in valid state to load.