diff --git a/include/api/context.h b/include/api/context.h index e90d7f28dc8..c815b73e52e 100644 --- a/include/api/context.h +++ b/include/api/context.h @@ -101,7 +101,7 @@ class MS_API Context { /// \brief Set Delegate to access third-party AI framework. Only valid for Lite. /// - /// \param[in] Pointer to the custom delegate. + /// \param[in] delegate the custom delegate. void SetDelegate(const std::shared_ptr &delegate); /// \brief Get the delegate of the third-party AI framework. Only valid for Lite. @@ -145,7 +145,6 @@ class MS_API DeviceInfoContext : public std::enable_shared_from_this std::shared_ptr Cast() { @@ -393,7 +392,7 @@ class MS_API AscendDeviceInfo : public DeviceInfoContext { /// \brief Set the dynamic image size of model inputs. /// - /// \param[in] image size hw e.g. "66,88;32,64" means h1:66,w1:88; h2:32,w2:64. + /// \param[in] dynamic_image_size size hw e.g. "66,88;32,64" means h1:66,w1:88; h2:32,w2:64. inline void SetDynamicImageSize(const std::string &dynamic_image_size); /// \brief Get dynamic image size of model inputs. diff --git a/include/api/kernel.h b/include/api/kernel.h index 940a4b35a78..9649661567b 100644 --- a/include/api/kernel.h +++ b/include/api/kernel.h @@ -124,7 +124,7 @@ class MS_API Kernel { } /// \brief set kernel's config. /// - /// \param[in] config define the kernel's config. + /// \param[in] section define the section of the kernel's config. std::map GetConfig(const std::string §ion) const { if (config_ == nullptr) { return std::map(); diff --git a/mindspore/lite/include/registry/node_parser.h b/mindspore/lite/include/registry/node_parser.h index 99f942b8303..2d987effe60 100644 --- a/mindspore/lite/include/registry/node_parser.h +++ b/mindspore/lite/include/registry/node_parser.h @@ -96,6 +96,7 @@ class MS_API NodeParser { /// \brief Method to parse node of TFLITE /// /// \param[in] tflite_op Define the node to be resolved. + /// \param[in] tflite_subgraph Define the subgraph to be resolved. /// \param[in] tflite_model Define the model, which contains all information abort the graph. /// /// \return PrimitiveC Attribute storage.