get_cudnn_version

paddle.device. get_cudnn_version ( ) [source]

This function return the version of cudnn. the return value is int which represents the cudnn version. For example, if it return 7600, it represents the version of cudnn is 7.6.

Returns

A int value which represents the cudnn version. If cudnn version is not installed, it return None.

Return type

int

Examples

>>> import paddle

>>> cudnn_version = paddle.device.get_cudnn_version()