- Python Reinforcement Learning
- Sudharsan Ravichandiran Sean Saito Rajalingappaa Shanmugamani Yang Wenzhuo
- 148字
- 2021-06-24 15:17:28
TensorFlow
TensorFlow is an open source software library from Google which is extensively used for numerical computation. It is widely used for building deep learning models and is a subset of machine learning. It uses data flow graphs that can be shared and executed on many different platforms. Tensor is nothing but a multi-dimensional array, so when we say TensorFlow, it is literally a flow of multi-dimensional arrays (tensors) in the computation graph.
With Anaconda installed, installing TensorFlow becomes very simple. Irrespective of the platform you are using, you can easily install TensorFlow by typing the following command:
source activate universe
conda install -c conda-forge tensorflow
Don't forget to activate the universe environment before installing TensorFlow .
We can check whether the TensorFlow installation was successful by simply running the following Hello World program:
import tensorflow as tf
hello = tf.constant("Hello World")
sess = tf.Session()
print(sess.run(hello))
推薦閱讀
- Python數據挖掘:入門、進階與實用案例分析
- Python數據分析入門:從數據獲取到可視化
- 分布式數據庫系統:大數據時代新型數據庫技術(第3版)
- Python廣告數據挖掘與分析實戰
- Access 2007數據庫應用上機指導與練習
- 數據驅動設計:A/B測試提升用戶體驗
- Dependency Injection with AngularJS
- SQL優化最佳實踐:構建高效率Oracle數據庫的方法與技巧
- 深入淺出 Hyperscan:高性能正則表達式算法原理與設計
- Mastering LOB Development for Silverlight 5:A Case Study in Action
- Mastering ROS for Robotics Programming(Second Edition)
- 云計算
- Scratch 2.0 Game Development HOTSHOT
- Rust High Performance
- 數據庫基礎與應用