mindspore.run_check

mindspore.run_check()[source]

Provide a convenient API to check if the installation is successful or failed. If there is no return value, the verification status will be displayed directly.

Examples

>>> import mindspore
>>> mindspore.run_check()
MindSpore version: xxx
The result of multiplication calculation is correct, MindSpore has been installed successfully!