diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-09-12 16:35:07 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-09-12 16:42:21 -0700 |
commit | 8f8b2497dbccf4b33557088b82b562205aa47c36 (patch) | |
tree | a26117486ba3d87a32c7abfd2c192f6f7501296c /third_party/systemlibs | |
parent | acc32e741935545d8e600a67361c388d14556538 (diff) |
Move from deprecated self.test_session() to self.cached_session().
self.test_session() has been deprecated in 9962eb5e84b15e309410071b06c2ed2d6148ed44 as its name confuses readers of the test. Moving to cached_session() instead which is more explicit about:
* the fact that the session may be reused.
* the session is not closed even when doing a "with self.test_session()" statement.
PiperOrigin-RevId: 212725342
Diffstat (limited to 'third_party/systemlibs')
0 files changed, 0 insertions, 0 deletions