xpu

paddle.version. xpu ( ) [source]

Get xpu version of paddle package.

Returns

Return the version information of xpu. If paddle package is non-XPU version, it will return False.

Return type

string

Examples

>>> import paddle

>>> paddle.version.xpu()
>>> 
'20230114'