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

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))
主站蜘蛛池模板: 马龙县| 和田市| 普安县| 板桥市| 梅州市| 西和县| 辽阳县| 新建县| 定安县| 聂拉木县| 桦南县| 孟州市| 汉源县| 黔西县| 都江堰市| 措美县| 昌宁县| 石门县| 美姑县| 县级市| 赤壁市| 富阳市| 呼图壁县| 阳曲县| 鲜城| 札达县| 奉化市| 新邵县| 柳河县| 梓潼县| 延寿县| 乐都县| 上犹县| 沙田区| 西藏| 林甸县| 新和县| 镇江市| 当雄县| 临潭县| 咸阳市|