65e4f94e45f32d9cbe99337d74ed9c1ebad3412a,keras/layers/core.py,AutoEncoder,get_config,#AutoEncoder#,374

Before Change


    def get_config(self):
        return {"name":self.__class__.__name__,
                "encoder_config":self.encoder.get_config(),
                "decoder_config":self.decoder.get_config(),
                "output_reconstruction":self.output_reconstruction,
                "tie_weights":self.tie_weights}

After Change



    def get_config(self):
        return {"name":self.__class__.__name__,
                "encoder_config":[e.get_config() for e in self.encoders],
                "decoder_config":[d.get_config() for d in self.decoders],
                "output_reconstruction":self.output_reconstruction,
                "tie_weights":self.tie_weights}
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: get_config


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: DenoisingAutoEncoder
Method Name: get_config


Project Name: tensorflow/models
Commit Name: b0a6416ecd2b8e35c56ad42cccc4e0e6f012567f
Time: 2020-10-21
Author: anirudh.vegesana@gmail.com
File Name: official/vision/beta/projects/yolo/modeling/backbones/Darknet.py
Class Name: Darknet
Method Name: __init__