mindspore.check_checkpoint =========================== .. image:: https://mindspore-website.obs.cn-north-4.myhuaweicloud.com/website-images/br_base/resource/_static/logo_source.svg :target: https://gitee.com/mindspore/mindspore/blob/br_base/docs/api/api_python/mindspore/mindspore.check_checkpoint.rst :alt: 查看源文件 .. py:function:: mindspore.check_checkpoint(ckpt_file_name) 检查checkpoint文件是否合法。 .. note:: 这个接口在2.5版本废弃,并且会在未来版本移除。 参数: - **ckpt_file_name** (str) - checkpoint的文件名称。 返回: bool,checkpoint文件是否合法。