install tensorflow to run on local gpu code example
Example 1: check if tensorflow gpu is installed
import tensorflow as tf
print(tf.test.gpu_device_name())
Example 2: Tensorflow GPU Installation conda
conda create --name tf_gpu
activate tf_gpu
conda install tensorflow-gpu