diff options
author | 2017-03-22 10:45:24 -0800 | |
---|---|---|
committer | 2017-03-22 12:12:26 -0700 | |
commit | a5493db6082a6fe29ed11e71f2aab5bfdf5f98c7 (patch) | |
tree | 0201547347125a8cbe3e8b5543b89dd3d17303b7 | |
parent | 5179bb49ce715cac7e48058c0a847222459bb619 (diff) |
Fix the bug of not passing the couple_input_forget_gates flag to BidirectionalGridLSTMCell.
Change: 150906718
-rw-r--r-- | tensorflow/contrib/rnn/python/ops/rnn_cell.py | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/tensorflow/contrib/rnn/python/ops/rnn_cell.py b/tensorflow/contrib/rnn/python/ops/rnn_cell.py index 315ba5c7fd..5d435d8653 100644 --- a/tensorflow/contrib/rnn/python/ops/rnn_cell.py +++ b/tensorflow/contrib/rnn/python/ops/rnn_cell.py @@ -958,8 +958,7 @@ class BidirectionalGridLSTMCell(GridLSTMCell): num_units, use_peepholes, share_time_frequency_weights, cell_clip, initializer, num_unit_shards, forget_bias, feature_size, frequency_skip, num_frequency_blocks, start_freqindex_list, end_freqindex_list, - couple_input_forget_gates=False, - state_is_tuple=True, reuse=reuse) + couple_input_forget_gates, True, reuse) self._backward_slice_offset = int(backward_slice_offset) state_names = "" for direction in ["fwd", "bwd"]: |