ee179f7da155c3cb8129b954db828906886ad4e4,keras/layers/core.py,AutoEncoder,get_output,#AutoEncoder#Any#,402
Before Change
for e,d in zip(self.encoders, self.decoders):
map(self._tranpose_weights, e.get_weights(), d.get_weights())
return self.decoders[-1].get_output(train)
def get_config(self):
return {"name":self.__class__.__name__,
"encoder_config":[e.get_config() for e in self.encoders],
After Change
if self.tie_weights:
encoder_params = self.encoder.get_weights()
decoder_params = self.decoder.get_weights()
for dec_param, enc_param in zip(decoder_params, encoder_params):
if len(dec_param.shape) > 1:
enc_param = dec_param.T
return decoded
def get_config(self):
return {"name":self.__class__.__name__,
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_output
Project Name: ray-project/ray
Commit Name: 3c6b94f3f5b27ff66e60a15f4c6817468e09d505
Time: 2020-02-28
Author: ekhliang@gmail.com
File Name: rllib/utils/experimental_dsl.py
Class Name: ApplyGradients
Method Name: __call__
Project Name: keras-team/autokeras
Commit Name: 1d52eb75c5fcfb3f9465eb6614b7bb2b57dece4d
Time: 2018-05-20
Author: jin@tamu.edu
File Name: autokeras/layer_transformer.py
Class Name:
Method Name: deeper_conv_block