add comments for call op

This commit is contained in:
mengyuanli 2021-10-11 09:06:46 +08:00
parent e4d8e63e8c
commit e19415946a
1 changed files with 3 additions and 1 deletions

View File

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