Warn when creating a `tf.InteractiveSession` if another is active.
authorDerek Murray <mrry@google.com>
Thu, 15 Mar 2018 19:33:10 +0000 (12:33 -0700)
committerTensorFlower Gardener <gardener@tensorflow.org>
Thu, 15 Mar 2018 19:37:47 +0000 (12:37 -0700)
commit0f508d4de379e800ad7f990de08959bbd6fcabb5
treeb3ff15c9536404d6e07fcf4c0e8177f1755f8dee
parent5d624aa437d3541d35e42482ee649c005f7fd5b5
Warn when creating a `tf.InteractiveSession` if another is active.

Fixes #13202 (as far as possible without breaking backwards compatibility).

PiperOrigin-RevId: 189228094
tensorflow/python/client/session.py
tensorflow/python/client/session_test.py