mindspore.check_checkpoint =========================== .. py:function:: mindspore.check_checkpoint(ckpt_file_name) 检查checkpoint文件是否合法。 .. note:: 这个接口在2.5版本废弃,并且会在未来版本移除。 参数: - **ckpt_file_name** (str) - checkpoint的文件名称。 返回: bool,checkpoint文件是否合法。