
上QQ阅读APP看书,第一时间看更新
TensorFlow for deep learning
TensorFlow is one of the popular deep learning libraries available and has APIs for Python, C++, Java, and so on. In this book, we will use the Python API 1.4.0. Explaining TensorFlow in detail is beyond the scope of this book; the official documentation is a better starting place to get acquainted with it.
In order to install, we will use the pip based method, as follows:
pip install tensorflow=1.4.0
If there is GPU available with CUDA and cuDNN:
pip install tensorflow-gpu=1.4.0
For more information on TensorFlow and its use, please follow the tutorials here:
https://www.tensorflow.org/get_started/get_started.
Once installed, TensorFlow version can be checked by running:
python -c "import tensorflow as tf;print(tf.__version__)"