diff options
author | 2018-01-24 10:02:35 -0800 | |
---|---|---|
committer | 2018-01-24 10:06:06 -0800 | |
commit | d9f93c42a50b1f1401d9c186eac0ae8dc9093c3b (patch) | |
tree | 178d1a692f56580c266139642b5a1d0d155c477e /tensorflow/python/ops/rnn_cell_impl.py | |
parent | 7b62a71e2d46c148df7d5704972f4592bc5e0f1b (diff) |
Merge changes from github.
PiperOrigin-RevId: 183100142
Diffstat (limited to 'tensorflow/python/ops/rnn_cell_impl.py')
-rw-r--r-- | tensorflow/python/ops/rnn_cell_impl.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tensorflow/python/ops/rnn_cell_impl.py b/tensorflow/python/ops/rnn_cell_impl.py index 1bf5551aff..f1ac3e9baf 100644 --- a/tensorflow/python/ops/rnn_cell_impl.py +++ b/tensorflow/python/ops/rnn_cell_impl.py @@ -988,6 +988,10 @@ class DropoutWrapper(RNNCell): return int(hashlib.md5(string).hexdigest()[:8], 16) & 0x7FFFFFFF @property + def wrapped_cell(self): + return self._cell + + @property def state_size(self): return self._cell.state_size |