February 2019
Intermediate to advanced
672 pages
16h 50m
English
Tensorflow is another library designed for fast numerical calculations and automatic parallelism. It was released as an open source project by Google in 2015. Tensorflow works by building mathematical expressions similar to Theano, except that the computation is not compiled to machine code but is executed on an external engine written in C++. Tensorflow supports execution and deployment of parallel codes on one or more CPUs and GPUs.
The usage of Tensorflow is quite similar to that of Theano. To create a variable in Tensorflow, you can use the tf.placeholder function that takes a data type as input:
import tensorflow as tf a = tf.placeholder('float64')
Tensorflow mathematical expressions can be expressed quite similarly to Theano, ...