Skip to content

Commit

Permalink
Merge pull request #230 from dsx4602/patch-1
Browse files Browse the repository at this point in the history
Update cells.py
  • Loading branch information
farizrahman4u authored Dec 8, 2017
2 parents 1f1c330 + c6426e9 commit c020ccf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion seq2seq/cells.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ def build_model(self, input_shape):
z0, z1, z2, z3 = get_slices(z, 4)

i = Activation(self.recurrent_activation)(z0)
f = Activation(self.recurrent_activation)(z0)
f = Activation(self.recurrent_activation)(z1)

c = add([multiply([f, c_tm1]), multiply([i, Activation(self.activation)(z2)])])
o = Activation(self.recurrent_activation)(z3)
Expand Down

0 comments on commit c020ccf

Please sign in to comment.