7d2f0b1ba8c1ebd4213f748878953d576626fe84,keras/models.py,Sequential,non_trainable_weights,#Sequential#,445
Before Change
@property
def non_trainable_weights(self):
// support for legacy behavior
return self._gather_list_attr("non_trainable_weights")
@property
def updates(self):
// support for legacy behavior
After Change
def non_trainable_weights(self):
// support for legacy behavior
weights = self._gather_list_attr("non_trainable_weights")
if not self.trainable:
trainable_weights = self._gather_list_attr("trainable_weights")
return trainable_weights + weights
return weights
@property
def updates(self):
// support for legacy behavior
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 7
Instances
Project Name: keras-team/keras
Commit Name: 7d2f0b1ba8c1ebd4213f748878953d576626fe84
Time: 2016-08-23
Author: francois.chollet@gmail.com
File Name: keras/models.py
Class Name: Sequential
Method Name: non_trainable_weights
Project Name: keras-team/keras
Commit Name: 451d74c56d1b2f498e5c9a4856309d7f454b39e5
Time: 2017-02-19
Author: francois.chollet@gmail.com
File Name: keras/models.py
Class Name: Sequential
Method Name: trainable_weights
Project Name: keras-team/keras
Commit Name: 451d74c56d1b2f498e5c9a4856309d7f454b39e5
Time: 2017-02-19
Author: francois.chollet@gmail.com
File Name: keras/models.py
Class Name: Sequential
Method Name: non_trainable_weights