From 3218b8092b9a6561f4ce0e0e15a2ed2a4f08d9f9 Mon Sep 17 00:00:00 2001 From: xumengjuan1 Date: Wed, 22 Feb 2023 16:20:23 +0800 Subject: [PATCH] modify foc --- include/api/delegate.h | 2 +- mindspore/core/ops/affine.h | 2 +- mindspore/core/ops/dynamic_quant.h | 2 +- mindspore/core/ops/random_normal.h | 2 +- mindspore/core/ops/tensor_list_stack.h | 2 +- mindspore/lite/include/registry/node_parser_registry.h | 2 +- mindspore/lite/include/registry/pass_registry.h | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/include/api/delegate.h b/include/api/delegate.h index e0254b70d28..72da2d75800 100644 --- a/include/api/delegate.h +++ b/include/api/delegate.h @@ -50,7 +50,7 @@ class MS_API DelegateModel { /// \brief Get Primitive of kernel::Kernel. /// - /// \param[in] a kernel in DelegateModel kernels vector. + /// \param[in] kernel kernel in DelegateModel kernels vector. /// /// \return The Primitive of The kernel. const T *GetPrimitive(kernel::Kernel *kernel) const { diff --git a/mindspore/core/ops/affine.h b/mindspore/core/ops/affine.h index 366d07f16b1..ad949a07575 100644 --- a/mindspore/core/ops/affine.h +++ b/mindspore/core/ops/affine.h @@ -46,7 +46,7 @@ class MIND_API Affine : public BaseOperator { void set_output_dim(int64_t output_dim); /// \brief Method to set transpose_a attributes. /// - /// \param[in] transpose_b Define the if transpose a tensor. + /// \param[in] transpose_a Define the if transpose a tensor. void set_transpose_a(bool transpose_a); /// \brief Method to set transpose_b attributes. /// diff --git a/mindspore/core/ops/dynamic_quant.h b/mindspore/core/ops/dynamic_quant.h index 9af604901ef..11b8c06929b 100644 --- a/mindspore/core/ops/dynamic_quant.h +++ b/mindspore/core/ops/dynamic_quant.h @@ -54,7 +54,7 @@ class MIND_API DynamicQuant : public BaseOperator { /// \brief Method to set dst_type attribute. /// - /// \param[in] dst_t Define the data type of output. + /// \param[in] dst_type Define the data type of output. void set_dst_type(const int64_t dst_type); /// \brief Method to get dst_type attribute. diff --git a/mindspore/core/ops/random_normal.h b/mindspore/core/ops/random_normal.h index ad6ee52bfc1..847a137f069 100644 --- a/mindspore/core/ops/random_normal.h +++ b/mindspore/core/ops/random_normal.h @@ -49,7 +49,7 @@ class MIND_API RandomNormal : public BaseOperator { /// \brief Method to set scale attributes. /// - /// \param[in] mean Define random standard deviation. + /// \param[in] scale Define random standard deviation. void set_scale(float scale); /// \brief Method to get seed attributes. diff --git a/mindspore/core/ops/tensor_list_stack.h b/mindspore/core/ops/tensor_list_stack.h index 56e25efe3d5..6e73b33f7c8 100644 --- a/mindspore/core/ops/tensor_list_stack.h +++ b/mindspore/core/ops/tensor_list_stack.h @@ -40,7 +40,7 @@ class MIND_API TensorListStack : public BaseOperator { /// \brief Method to set the op's num_elements attributes. /// - /// \param[in] element_dtype Define the num_elements data type in op; + /// \param[in] num_elements Define the num_elements data type in op; void set_num_elements(const int64_t num_elements); /// \brief Method to set the op's element_dtype attributes. diff --git a/mindspore/lite/include/registry/node_parser_registry.h b/mindspore/lite/include/registry/node_parser_registry.h index a23fae1ea38..2ae17d77cd7 100644 --- a/mindspore/lite/include/registry/node_parser_registry.h +++ b/mindspore/lite/include/registry/node_parser_registry.h @@ -64,7 +64,7 @@ converter::NodeParserPtr NodeParserRegistry::GetNodeParser(converter::FmkType fm /// /// \param[in] fmk_type Define the framework. /// \param[in] node_type Define the type of the node to be resolved. -/// \param[in] NodeParser instance corresponding with its framework and node type. +/// \param[in] node_parser instance corresponding with its framework and node type. #define REG_NODE_PARSER(fmk_type, node_type, node_parser) \ static mindspore::registry::NodeParserRegistry g_##fmk_type##node_type##ParserReg(fmk_type, #node_type, node_parser); } // namespace registry diff --git a/mindspore/lite/include/registry/pass_registry.h b/mindspore/lite/include/registry/pass_registry.h index 536386b1fb4..44ac74db63f 100644 --- a/mindspore/lite/include/registry/pass_registry.h +++ b/mindspore/lite/include/registry/pass_registry.h @@ -57,7 +57,7 @@ class MS_API PassRegistry { /// \brief Static method to obtain pass instance according to passes' name. /// - /// \param[in] pass_names Define the name of pass. + /// \param[in] pass_name Define the name of pass. /// /// \return Pass Instance Vector. inline static PassBasePtr GetPassFromStoreRoom(const std::string &pass_name);