What’s the difference between tf.Session() and tf.InteractiveSession() ?

What’s the difference between tf.Session() and tf.InteractiveSession() ?

Asked on December 15, 2018 in Tensorflow.
Add Comment


  • 1 Answer(s)

          InteractiveSession build itself as a default session hence, you will call run() or eval() without explicitly calling the session.

          It is useful when you are experiment with TF in Jupyter notebooks or in python shell, so it avoids to pass an explicit Session object to run operations.

    Answered on December 15, 2018.
    Add Comment


  • Your Answer

    By posting your answer, you agree to the privacy policy and terms of service.