Could not load dynamic library 'libcudnn.so.7'; dlerror: libcudnn.so.7 code example
Example: Could not load dynamic library 'libcudnn.so.8'; dlerror:
You'll need to download it from below link (registration is required)
https://developer.nvidia.com/rdp/cudnn-download