Could not load dynamic library 'libcudart.so.10.1'; dlerror: libcudart.so.10.1: 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