Skip to content

Commit f140638

Browse files
committed
Cleanup: remove unused constraints attribute in Sequential model.
1 parent 5e61e79 commit f140638

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

keras/models.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -662,12 +662,6 @@ def regularizers(self):
662662
self.build()
663663
return self.model.regularizers
664664

665-
@property
666-
def constraints(self):
667-
if not self.built:
668-
self.build()
669-
return self.model.constraints
670-
671665
def get_weights(self):
672666
"""Retrieves the weights of the model.
673667

0 commit comments

Comments
 (0)