1ced2f1e2b9006f0ab5bc98328570da9d2254f50,starry/_core/core.py,OpsReflected,X,#OpsReflected#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#Any#,983

Before Change


            X = tt.reshape(X, (tt.shape(theta)[0], self.source_npts, -1))

            // Average over each profile
            return tt.sum(X, axis=1) / self.source_npts

    @autocompile
    def flux(

After Change



            // Average over each profile
            return ifelse(
                tt.shape(theta)[0] > 0,
                (
                    tt.sum(
                        tt.reshape(
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: rodluger/starry
Commit Name: 1ced2f1e2b9006f0ab5bc98328570da9d2254f50
Time: 2020-05-04
Author: rodluger@gmail.com
File Name: starry/_core/core.py
Class Name: OpsReflected
Method Name: X


Project Name: keras-team/keras
Commit Name: d9c4d8a76af48f9be4ed9f25f6f5feaf4146ae8f
Time: 2016-09-10
Author: dolaameng@gmail.com
File Name: examples/neural_doodle.py
Class Name:
Method Name: region_style_loss


Project Name: adalca/neuron
Commit Name: e026e6166ef669893aa4a4580bcc2bb1b3d72ce2
Time: 2020-04-11
Author: adalca@mit.edu
File Name: neuron/metrics.py
Class Name: Dice
Method Name: dice