mindspore.async_ckpt_thread_status
=======================================

.. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/r2.2/resource/_static/logo_source.svg
    :target: https://gitee.com/mindspore/mindspore/blob/r2.2/docs/api/api_python/mindspore/mindspore.async_ckpt_thread_status.rst
    :alt: 查看源文件


.. py:function:: mindspore.async_ckpt_thread_status()

    获取异步保存checkpoint文件线程的状态。

    在执行异步保存checkpoint时,判断异步线程是否执行完毕。

    返回:
        Bool: True,异步保存checkpoint线程正在运行。False,异步保存checkpoint线程未运行。