aboutsummaryrefslogtreecommitdiffhomepage
path: root/tensorflow/python/ops/rnn_cell_impl.py
diff options
context:
space:
mode:
Diffstat (limited to 'tensorflow/python/ops/rnn_cell_impl.py')
-rw-r--r--tensorflow/python/ops/rnn_cell_impl.py4
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