36ac91f0576b2295df1f3f8b23c305d69698a0ff,keras/models.py,Sequential,non_trainable_weights,#Sequential#,464

Before 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):

After Change



    @property
    def non_trainable_weights(self):
        if self.model is None:
            self.build()
        return self.model.non_trainable_weights

    @property
    def updates(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: keras-team/keras
Commit Name: 36ac91f0576b2295df1f3f8b23c305d69698a0ff
Time: 2017-02-15
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: 36ac91f0576b2295df1f3f8b23c305d69698a0ff
Time: 2017-02-15
Author: francois.chollet@gmail.com
File Name: keras/models.py
Class Name: Sequential
Method Name: trainable_weights


Project Name: keras-team/keras
Commit Name: 44d558ad7f13251650f40475eef6652df59e4b09
Time: 2016-02-22
Author: Nicholas.Eggert@target.com
File Name: keras/layers/containers.py
Class Name: Graph
Method Name: set_previous