mindspore.check_checkpoint =========================== .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/r2.3.1/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindspore/blob/r2.3.1/docs/api/api_python/mindspore/mindspore.check_checkpoint.rst :alt: 查看源文件 .. py:function:: mindspore.check_checkpoint(ckpt_file_name) 检查checkpoint文件是否合法。 参数: - **ckpt_file_name** (str) - checkpoint的文件名称。 返回: bool,checkpoint文件是否合法。