February 2017
Intermediate to advanced
370 pages
8h 11m
English
Now we must learn about the other operations we can add to a TensorFlow graph.
Besides the standard arithmetic operations, TensorFlow provides us with more operations that we should be aware of. We need to know how to use them before proceeding. Again, we can create a graph session by running the following code:
import tensorflow as tf sess = tf.Session()
TensorFlow has the standard operations on tensors: add(), sub(), mul(), and div(). Note that all of these operations in this section will evaluate the inputs element-wise unless specified otherwise:
div() and relevant functions.div() returns the same type as the inputs. This means it ...Read now
Unlock full access