I've been having a similar issue with TF 2.3.1. However, right away I can tell you that your cudnn version is incompatible. Only cudnn 7.6 is supported with the latest TF which as of right now is 2.3.1. See compatibility link below.
https://www.tensorflow.org/install/gpu#hardware_requirements
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.