DEV Community

qiumingming7@gmail.com
qiumingming7@gmail.com

Posted on

Answer: What's the difference between tf.Session() and tf.InteractiveSession()?

Mainly taken from official documentation:

The only difference with a regular Session is that an InteractiveSession installs itself as the default session on construction. The methods Tensor.eval() and Operation.run() will use that session to run ops.

This allows to use interactive context, like shell, as it avoids having to pass…

Top comments (0)