ee179f7da155c3cb8129b954db828906886ad4e4,keras/layers/core.py,AutoEncoder,get_input,#AutoEncoder#Any#,385
Before Change
def get_input(self, train=False):
if hasattr(self.encoders[0], "previous"):
return self.encoders[0].previous.get_output(train=train)
else:
return self.encoders[0].input
@property
After Change
self.decoder.set_weights(weights[nb_param:])
def get_input(self, train=False):
return self.encoder.get_input(train)
@property
def input(self):
return self.encoder.input
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: keras-team/keras
Commit Name: ee179f7da155c3cb8129b954db828906886ad4e4
Time: 2015-06-08
Author: francois.chollet@gmail.com
File Name: keras/layers/core.py
Class Name: AutoEncoder
Method Name: get_input
Project Name: keras-team/keras
Commit Name: ee179f7da155c3cb8129b954db828906886ad4e4
Time: 2015-06-08
Author: francois.chollet@gmail.com
File Name: keras/layers/core.py
Class Name: AutoEncoder
Method Name: get_output
Project Name: keras-team/keras
Commit Name: cf3b3dff329cb2b50724ef44977abfd0a841ad77
Time: 2016-03-31
Author: francois.chollet@gmail.com
File Name: keras/regularizers.py
Class Name: ActivityRegularizer
Method Name: __call__