Skip to content

Commit

Permalink
Update model.py
Browse files Browse the repository at this point in the history
  • Loading branch information
zsdonghao authored May 31, 2017
1 parent d701068 commit 19f2760
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions model.py
Original file line number Diff line number Diff line change
Expand Up @@ -813,6 +813,7 @@ def rnn_embed(input_seqs, is_train=True, reuse=False, return_embed=False):
name = 'rnn/wordembed')
network = DynamicRNNLayer(network,
cell_fn = LSTMCell,
cell_init_args = {'state_is_tuple' : True, 'reuse': reuse},
n_hidden = rnn_hidden_size,
dropout = (keep_prob if is_train else None),
initializer = w_init,
Expand Down

0 comments on commit 19f2760

Please sign in to comment.