forked from huawei/mindspore2022
fix SummaryRecord flush
This commit is contained in:
parent
a49b9877a9
commit
e0764c050b
|
|
@ -73,7 +73,7 @@
|
|||
|
||||
.. py:method:: flush()
|
||||
|
||||
刷新缓冲区,将缓冲区中的数据立刻写入文件。
|
||||
刷新缓冲区,将缓冲区中的数据写入磁盘。
|
||||
|
||||
调用该函数以确保所有挂起事件都已写入到磁盘。
|
||||
|
||||
|
|
|
|||
|
|
@ -429,7 +429,7 @@ class SummaryRecord:
|
|||
|
||||
def flush(self):
|
||||
"""
|
||||
Flush the buffer and write files to disk.
|
||||
Flush the buffer and write buffer data to disk.
|
||||
|
||||
Call it to make sure that all pending events have been written to disk.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue