Skip to content
This repository has been archived by the owner on Nov 17, 2023. It is now read-only.

Commit

Permalink
Merge pull request #353 from pluskid/master
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
tqchen committed Oct 21, 2015
2 parents 9e5de63 + 83e46c2 commit 7159fdf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion example/rnn/lstm.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
def lstm(num_hidden, indata, prev_state, param, seqidx, layeridx, dropout=0.):
"""LSTM Cell symbol"""
if dropout > 0.:
in_data = mx.sym.Dropout(data=in_data, p=dropout)
indata = mx.sym.Dropout(data=indata, p=dropout)
i2h = mx.sym.FullyConnected(data=indata,
weight=param.i2h_weight,
bias=param.i2h_bias,
Expand Down

0 comments on commit 7159fdf

Please sign in to comment.