Skip to content

Commit

Permalink
Fix wrapper learning phase
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Apr 19, 2016
1 parent 7ce1448 commit 1904194
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keras/layers/wrappers.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ class Wrapper(Layer):

def __init__(self, layer, **kwargs):
self.layer = layer
self.uses_learning_phase = layer.uses_learning_phase
super(Wrapper, self).__init__(**kwargs)

def build(self, input_shape=None):
Expand Down

0 comments on commit 1904194

Please sign in to comment.