Hi,
Please follow the instructions shared in the topic below to install TensorFlow:
To enable cuDNN within OpenCV, you will need to rebuild the library from the source. Below is a script for JetPack 4 for your reference:
Thanks.