官术网_书友最值得收藏!

  • 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))
主站蜘蛛池模板: 定南县| 陇川县| 周口市| 梓潼县| 南靖县| 元氏县| 五家渠市| 昌宁县| 宜阳县| 黄山市| 永泰县| 安西县| 沧源| 琼中| 威远县| 五寨县| 江西省| 那坡县| 虹口区| 芦山县| 承德市| 辽阳市| 惠安县| 长顺县| 昌乐县| 长汀县| 抚松县| 寻甸| 新安县| 舞钢市| 芦溪县| 苍梧县| 陇川县| 潼南县| 商丘市| 宜昌市| 宁乡县| 鄯善县| 凤冈县| 黄陵县| 景东|