Skip to content

Commit

Permalink
Add inner_activation to get_config
Browse files Browse the repository at this point in the history
Add the printing of the inner activation to the recurrent models that have one
  • Loading branch information
jramapuram committed May 13, 2015
1 parent 883737d commit 094acd9
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions keras/layers/recurrent.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,7 @@ def get_config(self):
"init":self.init.__name__,
"inner_init":self.inner_init.__name__,
"activation":self.activation.__name__,
"inner_activation":self.inner_activation.__name__,
"truncate_gradient":self.truncate_gradient,
"return_sequences":self.return_sequences}

Expand Down Expand Up @@ -247,6 +248,7 @@ def get_config(self):
"init":self.init.__name__,
"inner_init":self.inner_init.__name__,
"activation":self.activation.__name__,
"inner_activation":self.inner_activation.__name__,
"truncate_gradient":self.truncate_gradient,
"return_sequences":self.return_sequences}

Expand Down Expand Up @@ -361,6 +363,7 @@ def get_config(self):
"init":self.init.__name__,
"inner_init":self.inner_init.__name__,
"activation":self.activation.__name__,
"inner_activation":self.inner_activation.__name__,
"truncate_gradient":self.truncate_gradient,
"return_sequences":self.return_sequences}

Expand Down

0 comments on commit 094acd9

Please sign in to comment.