mindspore.async_ckpt_thread_status
- 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.
Trueif asynchronous checkpoint saving thread is running,Falseif asynchronous checkpoint saving thread is not executing.
Examples
>>> import mindspore as ms >>> ms.async_ckpt_thread_status() False