Changed name scope within bidirectional, fixing
@@ -229,7 +229,9 @@ class Bidirectional(Wrapper):
self.backward_layer.reset_states()
def build(self, input_shape):
+ with K.name_scope(self.forward_layer.name):
self.forward_layer.build(input_shape)
+ with K.name_scope(self.backward_layer.name):
self.backward_layer.build(input_shape)
self.built = True
