mindspore.run_check
- mindspore.run_check()[source]
Provide a convenient API to check if the installation is successful or failed. If the version in the check result is not what you expect, use
mindspore.set_context()
to set device_target before run_check().Examples
>>> import mindspore >>> mindspore.run_check() MindSpore version: xxx The result of multiplication calculation is correct, MindSpore has been installed on platform [XX] successfully!