Firstly thanks for this artical.
Mohamad Zaher Abd Ulmaula

Actually you can copy the file anywhere, just make sure to update your LD_LIBRARY_PATH so can be found, i.e. I extracted the downloaded cuDNN to /home/at15/app/cuda(it has just two folder include and lib64 ) and in my .bashrc I added `export LD_LIBRARY_PATH=/home/at15/app/cuda/lib64:$LD_LIBRARY_PATH`.

Then open a new shell, python3 and import tensorflow as tf should work.