mindspore.async_ckpt_thread_status ======================================= .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/master/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindspore/blob/master/docs/api/api_python/mindspore/mindspore.async_ckpt_thread_status.rst :alt: 查看源文件 .. py:function:: mindspore.async_ckpt_thread_status() 获取异步保存checkpoint文件线程的状态。 .. note:: 这个接口在2.5版本废弃,将在未来版本移除。 在执行异步保存checkpoint时,判断异步线程是否执行完毕。 返回: bool,异步保存checkpoint线程的运行状态。返回 ``True`` 表示线程正在运行,返回 ``False`` 表示线程未运行。