diff options
author | A. Unique TensorFlower <gardener@tensorflow.org> | 2018-08-21 19:10:12 -0700 |
---|---|---|
committer | TensorFlower Gardener <gardener@tensorflow.org> | 2018-08-21 19:19:21 -0700 |
commit | 361a82d73a50a800510674b3aaa20e4845e56434 (patch) | |
tree | 01a4167956467298ac7ab5ff1f65480c394db190 /tensorflow/contrib/labeled_tensor | |
parent | 59fa06466894daf708f40368cd2ee56ed4d160c9 (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: 209700671
Diffstat (limited to 'tensorflow/contrib/labeled_tensor')
0 files changed, 0 insertions, 0 deletions