f7a51531030d64f7a4007deceaf1a2eb19c6e7c1,theanolm/layers/grulayer.py,GRULayer,_create_time_step,#GRULayer#Any#Any#Any#Any#Any#Any#,114

Before Change


        h_out = (1.0 - u) * h_in + u * h_candidate

        // Apply the mask.
        h_out = mask[:, None] * h_out + (1.0 - mask)[:, None] * h_in

        return h_out

After Change



        // Apply the mask.
// XXX        h_out = mask[:,None] * h_out + (1.0 - mask)[:,None] * h_in
        h_out = tensor.switch(mask[:,None], h_out, h_in)

        return h_out
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: senarvi/theanolm
Commit Name: f7a51531030d64f7a4007deceaf1a2eb19c6e7c1
Time: 2015-12-11
Author: seppo.git@marjaniemi.com
File Name: theanolm/layers/grulayer.py
Class Name: GRULayer
Method Name: _create_time_step


Project Name: pymc-devs/pymc3
Commit Name: 7a31475bb139893cd3fd2bd1dbc33d040a0511c8
Time: 2017-05-04
Author: aseyboldt@users.noreply.github.com
File Name: pymc3/distributions/multivariate.py
Class Name: MvNormal
Method Name: _logp_tau


Project Name: senarvi/theanolm
Commit Name: f7a51531030d64f7a4007deceaf1a2eb19c6e7c1
Time: 2015-12-11
Author: seppo.git@marjaniemi.com
File Name: theanolm/layers/lstmlayer.py
Class Name: LSTMLayer
Method Name: _create_time_step