!33685 Fix core api typos

Merge pull request !33685 from LiangZhibo/code_docs_core
This commit is contained in:
i-robot 2022-04-28 06:16:49 +00:00 committed by Gitee
commit d98d859756
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 2 additions and 2 deletions

View File

@ -103,7 +103,7 @@ class MS_CORE_API Tuple final : public Object {
/// \brief Shadow copy function for Tuple.
///
/// \param[in] obj TypePtrList to be copied.
/// \param[in] objs TypePtrList to be copied.
explicit Tuple(const TypePtrList &objs) : Object(kObjectTypeTuple, false), elements_(objs.begin(), objs.end()) {}
/// \brief Destructor of Tuple.
@ -152,7 +152,7 @@ class MS_CORE_API Dictionary final : public Object {
/// \brief Constructor for Dictionary.
///
/// \param[in] objs The elements of Dictionary.
/// \param[in] key_values The elements of Dictionary.
explicit Dictionary(const std::vector<std::pair<std::string, TypePtr>> &key_values)
: Object(kObjectTypeDictionary, false), key_values_(key_values) {}