get_cudnn_version

paddle.device. get_cudnn_version ( ) [source]

This funciton return the version of cudnn. the retuen 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.get_cudnn_version()