install tensorflow gpu code example
Example 1: tensorflow check gpu
tf.config.list_physical_devices('GPU')
Example 2: Tensorflow GPU Installation conda
conda create --name tf_gpu
activate tf_gpu
conda install tensorflow-gpu
Example 3: tensorflow cant see gpu
$ pip uninstall tensorflow
$ pip install tensorflow-gpu