- Hands-On Deep Learning Architectures with Python
- Yuxi (Hayden) Liu Saransh Mehta
- 36字
- 2021-06-24 14:48:14
Creating a Session
tf.Session object is used to create a Session. It takes the current graph by default, or you can specify which graph to use:
>>>sess = tf.Session()
>>>print(sess.run(sum))
This will print heythere as expected.