Table of Difference between tf.Session() and tf.InteractiveSession()
tf.Session() | tf.InteractiveSession() |
---|---|
First we create the structure of the computational graph and then call the Session function. | First, we call the Interactive session and then create the graph. |
tf.Session() depends on another default session. | tf.InteractiveSession() loads itself as the default session. |
It is defined using tf.Session() | It is defined using tf.InteractiveSession() |
Difference Between tf.Session() And tf.InteractiveSession() Functions in Python Tensorflow
In this article, we are going to see the differences between tf.Session() and tf.InteractiveSession().