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.