pip install tensorflow gpu=1. code example
Example: Tensorflow GPU Installation conda
conda create --name tf_gpu
activate tf_gpu
conda install tensorflow-gpu
conda create --name tf_gpu
activate tf_gpu
conda install tensorflow-gpu