Get xpu version of paddle package. The API is deprecated now, please use xpu_xhpc() instead.
Return the version information of xpu. If paddle package is non-XPU version, it will return False.
string
Examples
System Message: ERROR/3 (/usr/local/lib/python3.8/site-packages/paddle/version/__init__.py:docstring of paddle.version.xpu, line 8)
Error in “code-block” directive: maximum 1 argument(s) allowed, 15 supplied.
.. code-block:: python
>>> import paddle
>>> paddle.version.xpu()
>>> # doctest: +SKIP('Different environments yield different output.')
'20230114'