Can I delete Visual Studio after CUDA installation is complete?

I’m in a space limited environment and I would like to delete Visual Studio while still using CUDA (I’m using tensorflow which makes use of CUDA and cuDNN for GPU training and inference).

Do I need to keep Visual Studio installed for the proper functioning of CUDA, or can I uninstall it?