65e4f94e45f32d9cbe99337d74ed9c1ebad3412a,keras/layers/core.py,AutoEncoder,__init__,#AutoEncoder#Any#Any#Any#Any#Any#,299

Before Change


        self.encoder = encoder
        self.decoder = decoder

        self.decoder.connect(self.encoder)

        self.params = []
        self.regularizers = []
        self.constraints = []

After Change


        if not encoders or not decoders:
            raise Exception("Please specify the encoder/decoder layers")

        if not len(encoders) == len(decoders):
            raise Exception("There need to be an equal number of encoders and decoders")

        // connect all encoders & decoders to their previous (respectively)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: keras-team/keras
Commit Name: 65e4f94e45f32d9cbe99337d74ed9c1ebad3412a
Time: 2015-06-03
Author: jason.ramapuram@viasat.com
File Name: keras/layers/core.py
Class Name: AutoEncoder
Method Name: __init__


Project Name: biolab/orange3
Commit Name: 7d79dabedb5570434f5a3461db36b47039980127
Time: 2015-12-04
Author: tankovesna@hotmail.com
File Name: Orange/canvas/report/owreport.py
Class Name: OWReport
Method Name: __init__


Project Name: biolab/orange3
Commit Name: 79547342966a50fb7d71e781da00ef7a2379dd1a
Time: 2015-10-30
Author: tankovesna@hotmail.com
File Name: Orange/canvas/report/owreport.py
Class Name: OWReport
Method Name: __init__