December 2017
Intermediate to advanced
536 pages
14h 23m
English
We proceed with the recipe as follows:

v_1 = tf.constant([1,2,3,4]) v_2 = tf.constant([2,1,5,3]) v_add = tf.add(v_1,v_2) # You can also write v_1 + v_2 instead
with tf.Session() as sess: prin(sess.run(v_add))
The above two commands are equivalent to the following code. The advantage of using with block is that one need not close ...
Read now
Unlock full access