how to check if cuda is installed using tensorflow code example Example: how to check cuda version windows nvcc --version