Build Tensorflow 2.0.1 with cuda-11.2 and cudnn 8.1

I can’t compile tensorflow 2.0.1 with cuda 11.2 and cuda 8.1. I need it to run my pipeline (object detection) on an RTX 3070 (AMPERE architecture). can you help me

os : ubuntu 18.04
python version : 3.6.9

best regards

TF 2.0.1 is quite old. Maybe this helps: