From e19415946a1accc6cf6cb8efbe6db2b1fce2fefc Mon Sep 17 00:00:00 2001 From: mengyuanli Date: Mon, 11 Oct 2021 09:06:46 +0800 Subject: [PATCH] add comments for call op --- mindspore/core/ops/call.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/mindspore/core/ops/call.h b/mindspore/core/ops/call.h index 68134d407bc..f66e4623865 100644 --- a/mindspore/core/ops/call.h +++ b/mindspore/core/ops/call.h @@ -23,12 +23,14 @@ namespace mindspore { namespace ops { constexpr auto kNameCall = "call"; +/// \brief Call op means function call in the MindIR. This operator is defined for serialization. class MS_CORE_API Call : public PrimitiveC { public: + /// \brief Constructor. Call() : PrimitiveC(kNameCall) {} + /// \brief Destructor. ~Call() = default; MS_DECLARE_PARENT(Call, PrimitiveC); - void Init() {} }; } // namespace ops } // namespace mindspore