Skip to content

Commit

Permalink
Merge branch 'master' of github.com:lmjohns3/theanets
Browse files Browse the repository at this point in the history
  • Loading branch information
Leif Johnson committed Dec 1, 2015
2 parents 269ab04 + 099e465 commit e0de773
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion theanets/layers/recurrent.py
Original file line number Diff line number Diff line change
Expand Up @@ -1043,7 +1043,7 @@ def fn(x_t, r_t, z_t, h_tm1):

(p, h, o), updates = self._scan(
fn,
[TT.tanh(TT.dot(x, self.find('xh'))) + self.find('bh'),
[TT.tanh(TT.dot(x, self.find('xh')) + self.find('bh')),
TT.dot(x, self.find('xr')) + self.find('br'), z],
[None, None, x])

Expand Down

0 comments on commit e0de773

Please sign in to comment.