Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
fchollet committed Jun 10, 2024
1 parent 2305fad commit da72e22
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions keras/src/layers/regularization/activity_regularization.py
Original file line number Diff line number Diff line change
Expand Up @@ -36,5 +36,6 @@ def compute_output_shape(self, input_shape):

def get_config(self):
base_config = super().get_config()
base_config.pop("activity_regularizer", None)
config = {"l1": self.l1, "l2": self.l2}
return {**base_config, **config}

0 comments on commit da72e22

Please sign in to comment.