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

fix typo #353

Merged
merged 1 commit into from
Oct 21, 2015
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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