!32234 modify print cn comment

Merge pull request !32234 from changzherui/mod_print_cn
This commit is contained in:
i-robot 2022-04-01 11:20:33 +00:00 committed by Gitee
commit 5aa6568db9
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
3 changed files with 3 additions and 2 deletions

View File

@ -9,6 +9,8 @@ mindspore.ops.Print
.. note::
在PyNative模式下请使用Python print函数。在Graph模式下bool、int和float将被转换为Tensor进行打印str保持不变。
该方法用于代码调试当同时print大量数据时为了保证主进程不受影响可能会丢失一些数据这时推荐使用 `Summary` 功能,具体可查看
`Summary <https://www.mindspore.cn/mindinsight/docs/zh-CN/master/summary_record.html?highlight=summary#>`_.
**输入:**

View File

@ -20,7 +20,7 @@
namespace mindspore {
namespace {
constexpr int kMaxNameLength = 32;
constexpr int kMaxNameLength = 64;
} // namespace
BaseRecorder::BaseRecorder() : module_(""), name_(""), directory_(""), filename_(""), timestamp_("") {}
BaseRecorder::BaseRecorder(const std::string &module, const std::string &name)

View File

@ -24,7 +24,6 @@
#include "include/common/visible.h"
#include "utils/log_adapter.h"
const int maxNameLength = 64;
namespace mindspore {
class COMMON_EXPORT BaseRecorder {
public: