mindspore.async_ckpt_thread_status

mindspore.async_ckpt_thread_status()[source]

Get the status of asynchronous save checkpoint thread.

When performing asynchronous save checkpoint, you can get the thread state through this function to ensure that write checkpoint file are completed.

Returns

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