try_import

paddle.utils. try_import ( module_name, err_msg=None ) [source]

Try importing a module, with an informative error message on failure.