提交 9c21f751 编写于 作者: M mindspore-ci-bot 提交者: Gitee

!257 Fix print content of mindspore.string

Merge pull request !257 from ghzl/fix-print-content-of-mstype-string
......@@ -51,7 +51,7 @@ class String : public Object {
TypeId generic_type_id() const override { return kObjectTypeString; }
TypePtr DeepCopy() const override { return std::make_shared<String>(); }
std::string ToString() const override { return std::string("String:"); }
std::string ToString() const override { return std::string("String"); }
std::string ToReprString() const override { return "string"; }
std::string DumpText() const override { return "String"; }
};
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册