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

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))
主站蜘蛛池模板: 淳安县| 南丹县| 忻城县| 修水县| 偃师市| 铅山县| 常宁市| 信阳市| 张家界市| 涟源市| 郯城县| 浮梁县| 客服| 来凤县| 舟山市| 潞城市| 博白县| 古田县| 沂源县| 广灵县| 凤台县| 广西| 屏南县| 隆昌县| 清流县| 西和县| 颍上县| 东莞市| 庆城县| 黑山县| 平安县| 叶城县| 长海县| 剑阁县| 竹山县| 罗甸县| 湛江市| 通许县| 沂水县| 桐庐县| 高平市|