Merge pull request !49242 from xumengjuan1/code_docs_x1x
This commit is contained in:
i-robot 2023-02-22 09:15:43 +00:00 committed by Gitee
commit cace511745
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
7 changed files with 7 additions and 7 deletions

View File

@ -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 {

View File

@ -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.
///

View File

@ -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.

View File

@ -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.

View File

@ -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.

View File

@ -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

View File

@ -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);