C5:Text,Sequences and Visualization

Scan How to do it? elems = np.array(["T","e","n","s","o","r"," ","F","l","o","w"]) scan_sum = tf.scan(lambda a, x:a+x,elems) sess = tf.InteractiveSession() print(sess.run(scan_sum)) RNN and Tensorboar
相關文章
相關標籤/搜索