a744b600e94ae00fbec71ef493afdff48bc3816b,keras/layers/core.py,RepeatVector,get_output,#RepeatVector#Any#,604
Before Change
def get_output(self, train=False):
X = self.get_input(train)
tensors = [X]*self.n
stacked = theano.tensor.stack(*tensors)
return stacked.dimshuffle((1, 0, 2))
def get_config(self):
config = {"name": self.__class__.__name__,
After Change
def get_output(self, train=False):
X = self.get_input(train)
return K.repeat(X, self.n)
def get_config(self):
config = {"name": self.__class__.__name__,
"n": self.n}
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: keras-team/keras
Commit Name: a744b600e94ae00fbec71ef493afdff48bc3816b
Time: 2015-11-18
Author: francois.chollet@gmail.com
File Name: keras/layers/core.py
Class Name: RepeatVector
Method Name: get_output
Project Name: ray-project/ray
Commit Name: b0b046316183e3f09b36678230c3af11d289b31f
Time: 2020-07-29
Author: sven@anyscale.io
File Name: rllib/evaluation/postprocessing.py
Class Name:
Method Name: compute_advantages
Project Name: keras-team/keras
Commit Name: de8a0133f01b4e9204eb81eb85ff4f9684aeb98f
Time: 2016-02-02
Author: francois.chollet@gmail.com
File Name: keras/backend/theano_backend.py
Class Name:
Method Name: repeat