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

  • 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))
主站蜘蛛池模板: 色达县| 平果县| 界首市| 淄博市| 康保县| 兰溪市| 宕昌县| 辽宁省| 涞水县| 虞城县| 河西区| 荣昌县| 闻喜县| 阜南县| 临颍县| 六盘水市| 北票市| 清流县| 福安市| 建阳市| 贵德县| 白河县| 深水埗区| 抚宁县| 新绛县| 西贡区| 高碑店市| 宣化县| 两当县| 中方县| 菏泽市| 昌邑市| 万年县| 山西省| 黄大仙区| 淅川县| 昭苏县| 光山县| 同心县| 同江市| 台中市|