diff options
author | 2018-09-10 14:36:15 -0700 | |
---|---|---|
committer | 2018-09-10 14:46:32 -0700 | |
commit | 132babebf5b1026cb33cad7c4eb7e03810c2acdf (patch) | |
tree | f5bc9f0a64ba48fbae1a65cb741f5681f67de134 /tensorflow/contrib/periodic_resample | |
parent | 55ad6406b8e0e1f50d27f619aa150cc2f827311a (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: 212336258
Diffstat (limited to 'tensorflow/contrib/periodic_resample')
0 files changed, 0 insertions, 0 deletions