We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a6da8e3 + 8222d24 commit 87dab3eCopy full SHA for 87dab3e
1 file changed
code/lstm.py
@@ -171,7 +171,6 @@ def _slice(_x, n, dim):
171
def _step(m_, x_, h_, c_):
172
preact = tensor.dot(h_, tparams[_p(prefix, 'U')])
173
preact += x_
174
- preact += tparams[_p(prefix, 'b')]
175
176
i = tensor.nnet.sigmoid(_slice(preact, 0, options['dim_proj']))
177
f = tensor.nnet.sigmoid(_slice(preact, 1, options['dim_proj']))
0 commit comments