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

Commit

Permalink
fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
pluskid committed Oct 21, 2015
1 parent 9e5de63 commit 83e46c2
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 83e46c2

Please sign in to comment.