6cd076a14fa163cae38ff7768daf810d851c4885,keras/layers/recurrent.py,SimpleDeepRNN,_step,#SimpleDeepRNN#,102

Before Change


        o = args[0]
        for i in range(1, self.depth+1):
            o += self.inner_activation(T.dot(args[i], args[i+self.depth]))
        return o        

    def output(self, train):
        X = self.get_input(train)

After Change


        o = args[0]
        for i in range(1, self.depth+1):
            o += self.inner_activation(T.dot(args[i], args[i+self.depth]))
        return self.activation(o)

    def output(self, train):
        X = self.get_input(train)
        X = X.dimshuffle((1,0,2)) 
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 3

Instances


Project Name: keras-team/keras
Commit Name: 6cd076a14fa163cae38ff7768daf810d851c4885
Time: 2015-04-09
Author: francois.chollet@gmail.com
File Name: keras/layers/recurrent.py
Class Name: SimpleDeepRNN
Method Name: _step


Project Name: keras-team/keras
Commit Name: 47ed18a3af8be20dce91286a331d4671074ee0ca
Time: 2015-11-26
Author: francois.chollet@gmail.com
File Name: keras/layers/core.py
Class Name: TimeDistributedDense
Method Name: get_output


Project Name: keras-team/keras
Commit Name: b001e36f189219faf0da82ce96a748912ce46212
Time: 2016-04-26
Author: braingineer@users.noreply.github.com
File Name: keras/layers/core.py
Class Name: Dense
Method Name: call


Project Name: NifTK/NiftyNet
Commit Name: 5924176895995757c31804a0985d98e5518a758c
Time: 2018-11-07
Author: z.eaton-rosen@ucl.ac.uk
File Name: niftynet/layer/deconvolution.py
Class Name: DeconvolutionalLayer
Method Name: layer_op