mindspore.async_ckpt_thread_status

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

Get the status of asynchronous save checkpoint thread.

Note

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

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

Returns

bool, True, Asynchronous save checkpoint thread is running. False, Asynchronous save checkpoint thread is not executing.

Examples

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