From b5e44a9e34c55dbd30c7f2b36598ef602ec30020 Mon Sep 17 00:00:00 2001 From: Yongjoo Ahn Date: Mon, 15 May 2023 14:00:30 +0900 Subject: [PATCH] [Release] Change the name tizen 7.5 into tizen 8.0 - Tizen X.5 is not going to be used. Change tizen 7.5 to tizen 8.0 Signed-off-by: Yongjoo Ahn --- c/include/ml-api-common.h | 6 +++--- c/include/ml-api-service.h | 14 +++++++------- c/src/ml-api-internal.h | 4 ++-- debian/changelog | 2 +- packaging/machine-learning-api.spec | 2 +- 5 files changed, 14 insertions(+), 14 deletions(-) diff --git a/c/include/ml-api-common.h b/c/include/ml-api-common.h index 4d2068a..618adb7 100644 --- a/c/include/ml-api-common.h +++ b/c/include/ml-api-common.h @@ -97,7 +97,7 @@ typedef enum { /** * @brief The maximum rank that NNStreamer supports with Tizen APIs. * @since_tizen 5.5 - * @remarks The maximum rank in Tizen APIs is 4 until tizen 7.0 and 16 since 7.5. + * @remarks The maximum rank in Tizen APIs is 4 until tizen 7.0 and 16 since 8.0. */ #define ML_TENSOR_RANK_LIMIT (16) @@ -185,7 +185,7 @@ int ml_tensors_info_create (ml_tensors_info_h *info); /** * @brief Creates an extended tensors information handle with default value. * @details An extended tensors support higher rank limit. - * @since_tizen 7.5 + * @since_tizen 8.0 * @remarks The @a info should be released using ml_tensors_info_destroy(). * @param[out] info The handle of tensors information. * @return @c 0 on success. Otherwise a negative error value. @@ -483,7 +483,7 @@ int ml_option_set (ml_option_h option, const char *key, void *value, ml_data_des /** * @brief Gets a value of key in ml-option instance. * @details This returns the pointer of memory in the handle. Do not deallocate the returned value. If you modify the returned memory (value), the contents of value is updated. - * @since_tizen 7.5 + * @since_tizen 8.0 * @param[in] option The handle of ml-option. * @param[in] key The key to get the corresponding value. * @param[out] value The value of the key. diff --git a/c/include/ml-api-service.h b/c/include/ml-api-service.h index 4fb3138..576c7a5 100644 --- a/c/include/ml-api-service.h +++ b/c/include/ml-api-service.h @@ -226,7 +226,7 @@ int ml_service_query_request (ml_service_h handle, const ml_tensors_data_h input /** * @brief Registers new information of a neural network model. - * @since_tizen 7.5 + * @since_tizen 8.0 * @remarks Only one model can be activated with given @a name. If same name is already registered in machine learning service, this returns no error and old model will be deactivated when the flag @a activate is true. * @remarks %http://tizen.org/privilege/mediastorage is needed if model file is relevant to media storage. * @remarks %http://tizen.org/privilege/externalstorage is needed if model file is relevant to external storage. @@ -246,7 +246,7 @@ int ml_service_model_register (const char *name, const char *path, const bool ac /** * @brief Updates the description of neural network model with given @a name and @a version. - * @since_tizen 7.5 + * @since_tizen 8.0 * @param[in] name The unique name to indicate the model. * @param[in] version The version of registered model. * @param[in] description The description for neural network model. @@ -260,7 +260,7 @@ int ml_service_model_update_description (const char *name, const unsigned int ve /** * @brief Activates a neural network model with given @a name and @a version. - * @since_tizen 7.5 + * @since_tizen 8.0 * @param[in] name The unique name to indicate the model. * @param[in] version The version of registered model. * @return 0 on success. Otherwise a negative error value. @@ -273,7 +273,7 @@ int ml_service_model_activate (const char *name, const unsigned int version); /** * @brief Gets the information of neural network model with given @a name and @a version. - * @since_tizen 7.5 + * @since_tizen 8.0 * @remarks If the function succeeds, the @a info should be released using ml_option_destroy(). * @param[in] name The unique name to indicate the model. * @param[in] version The version of registered model. @@ -289,7 +289,7 @@ int ml_service_model_get (const char *name, const unsigned int version, ml_optio /** * @brief Gets the information of activated neural network model with given @a name. - * @since_tizen 7.5 + * @since_tizen 8.0 * @remarks If the function succeeds, the @a info should be released using ml_option_destroy(). * @param[in] name The unique name to indicate the model. * @param[out] info The handle of activated model. @@ -304,7 +304,7 @@ int ml_service_model_get_activated (const char *name, ml_option_h *info); /** * @brief Gets the list of neural network model with given @a name. - * @since_tizen 7.5 + * @since_tizen 8.0 * @remarks If the function succeeds, each handle in @a info_list should be released using ml_option_destroy(). * @param[in] name The unique name to indicate the model. * @param[out] info_list The handles of registered model. @@ -320,7 +320,7 @@ int ml_service_model_get_all (const char *name, ml_option_h *info_list[], unsign /** * @brief Deletes a model information with given @a name and @a version from machine learning service. - * @since_tizen 7.5 + * @since_tizen 8.0 * @remarks This does not remove the model file from file system. If @a version is 0, machine learning service will delete all information with given @a name. * @param[in] name The unique name to indicate the model. * @param[in] version The version of registered model. diff --git a/c/src/ml-api-internal.h b/c/src/ml-api-internal.h index 028374f..8358cfe 100644 --- a/c/src/ml-api-internal.h +++ b/c/src/ml-api-internal.h @@ -295,7 +295,7 @@ int _ml_tensors_data_clone_no_alloc (const ml_tensors_data_s * data_src, ml_tens /** * @brief Copies the tensor data frame. - * @since_tizen 7.5 + * @since_tizen 8.0 * @param[in] in The handle of tensors data to be cloned. * @param[out] out The handle of tensors data. The caller is responsible for freeing the allocated data with ml_tensors_data_destroy(). * @return @c 0 on success. Otherwise a negative error value. @@ -303,7 +303,7 @@ int _ml_tensors_data_clone_no_alloc (const ml_tensors_data_s * data_src, ml_tens * @retval #ML_ERROR_NOT_SUPPORTED Not supported. * @retval #ML_ERROR_INVALID_PARAMETER Given parameter is invalid. * @retval #ML_ERROR_OUT_OF_MEMORY Failed to allocate required memory. - * @todo Consider adding new API from tizen 7.5. + * @todo Consider adding new API from tizen 8.0. */ int ml_tensors_data_clone (const ml_tensors_data_h in, ml_tensors_data_h *out); diff --git a/debian/changelog b/debian/changelog index c9f64c0..fd8135a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,6 +1,6 @@ ml-api (1.8.3.0) unstable xenial bionic focal; urgency=medium - * Start development of 1.8.3 for Tizen 7.5 release (1.8.4) + * Start development of 1.8.3 for Tizen 8.0 release (1.8.4) -- MyungJoo Ham Fri, 30 Sep 2022 12:10:00 +0900 diff --git a/packaging/machine-learning-api.spec b/packaging/machine-learning-api.spec index f11970d..d246977 100644 --- a/packaging/machine-learning-api.spec +++ b/packaging/machine-learning-api.spec @@ -551,7 +551,7 @@ install -m 0755 packaging/run-unittest.sh %{buildroot}%{_bindir}/tizen-unittests %changelog * Fri Sep 30 2022 MyungJoo Ham -- Start development of 1.8.3 for Tizen 7.5 release (1.8.4) +- Start development of 1.8.3 for Tizen 8.0 release (1.8.4) * Mon Sep 26 2022 MyungJoo Ham - Release of 1.8.2 -- 2.7.4