mindspore.check_checkpoint
===========================

.. py:function:: mindspore.check_checkpoint(ckpt_file_name)

    检查checkpoint文件是否合法。

    参数:
        - **ckpt_file_name** (str) - checkpoint的文件名称。

    返回:
        bool,checkpoint文件是否合法。