GPU Not working on tensorflow although I have Nvidia Geforce RTX 4090

My gpu is not running properly on tensorflow.
I am working on Windows 11.
I have installed cuda and cudnn but still not working.
Any help?
Thank you