Skip to content

Commit 7a71150

Browse files
authored
Improved CD serialization
1 parent ff35426 commit 7a71150

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

lib/layers.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -290,6 +290,8 @@ def get_config(self):
290290
'bias_regularizer': regularizers.serialize(self.bias_regularizer),
291291
'activity_regularizer':
292292
regularizers.serialize(self.activity_regularizer),
293+
'weight_regularizer': regularizers.serialize(self.weight_regularizer),
294+
'dropout_regularizer': regularizers.serialize(self.dropout_regularizer),
293295
'kernel_constraint': constraints.serialize(self.kernel_constraint),
294296
'bias_constraint': constraints.serialize(self.bias_constraint)
295297
})

0 commit comments

Comments
 (0)