run_check

paddle.utils. run_check ( ) [源代码]

检查用户机器上,PaddlePaddle 是否正确地安装了,以及是否能够成功运行。

代码示例

>>> import paddle

>>> paddle.utils.run_check()
Running verify PaddlePaddle program ...
I0818 15:35:08.335391 30540 program_interpreter.cc:173] New Executor is Running.
I0818 15:35:08.398319 30540 interpreter_util.cc:529] Standalone Executor is Used.
PaddlePaddle works well on 1 CPU.
PaddlePaddle is installed successfully! Let's start deep learning with PaddlePaddle now.