In [1]:
import tensorflow as tf
sess = tf.Session(config=tf.ConfigProto(log_device_placement=True))

In [4]:
print (sess)


<tensorflow.python.client.session.Session object at 0x000002C3E5570710>