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

  • 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))
主站蜘蛛池模板: 莱州市| 车险| 海城市| 施秉县| 凌海市| 会泽县| 田阳县| 龙山县| 鄄城县| 阿拉尔市| 沁水县| 黄骅市| 长寿区| 孟村| 温州市| 嘉禾县| 安丘市| 微山县| 丰顺县| 昭平县| 工布江达县| 浦城县| 武冈市| 巴楚县| 鸡西市| 东阿县| 五大连池市| 昭觉县| 洛川县| 来宾市| 东源县| 陵水| 浪卡子县| 湘潭县| 阜平县| 巴里| 文水县| 杨浦区| 南开区| 馆陶县| 高清|