mindspore.async_ckpt_thread_status

View Source On AtomGit
mindspore.async_ckpt_thread_status()[source]

Get the status of asynchronous checkpoint saving thread.

Note

The interface is deprecated from version 2.5 and will be removed in a future version.

When performing asynchronous checkpoint saving, you can determine whether the asynchronous thread is completed.

Returns:

bool. True if asynchronous checkpoint saving thread is running, False if asynchronous checkpoint saving thread is not executing.

Examples

>>> import mindspore as ms
>>> ms.async_ckpt_thread_status()
False