diff options
author | 2018-08-21 19:53:48 -0700 | |
---|---|---|
committer | 2018-08-21 20:03:09 -0700 | |
commit | ba9501e0a6c457a0bb051760bf9312d31c6211bf (patch) | |
tree | 4384fad21a1645d9c35172a8820d2f1b19e04975 /tensorflow/contrib/autograph/converters/slices.py | |
parent | 47c0bda0e7f736a9328aaf76aba7c8006e24556f (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: 209703613
Diffstat (limited to 'tensorflow/contrib/autograph/converters/slices.py')
0 files changed, 0 insertions, 0 deletions