tensorflow cuda version code example
Example 1: Tensorflow GPU Installation conda
conda create --name tf_gpu
activate tf_gpu
conda install tensorflow-gpu
Example 2: install tensorflow from source ubuntu 18.04
sudo apt install pkg-config zip g++ zlib1g-dev unzipwget https://github.com/bazelbuild/bazel/releases/download/0.19.2/bazel-0.19.2-installer-linux-x86_64.shchmod +x bazel-0.19.2-installer-linux-x86_64.shsudo ./bazel-0.19.2-installer-linux-x86_64.sh