cuda

paddle.version. cuda ( ) [source]

Get cuda version of paddle package.

Returns

Return the version information of cuda. If paddle package is CPU version, it will return False.

Return type

string

Examples

import paddle

paddle.version.cuda()
# '10.2'