f065b29cc8667c3012761b9509886411d8095e57,starry/_core/ops/integration.py,sTReflectedOp,infer_shape,#sTReflectedOp#Any#Any#,114

Before Change


        return gof.Apply(self, inputs, outputs)

    def infer_shape(self, node, shapes):
        return [shapes[0] + (tt.as_tensor(self.N),)]

    def R_op(self, inputs, eval_points):
        if eval_points[0] is None:
            return eval_points

After Change


        return [
            shapes[0] + (tt.as_tensor(self.N),),
            shapes[0] + (tt.as_tensor(self.N),),
            shapes[0] + (tt.as_tensor(self.N),),
            shapes[0] + (tt.as_tensor(self.N),),
            shapes[0] + (tt.as_tensor(self.N),),
        ]
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: rodluger/starry
Commit Name: f065b29cc8667c3012761b9509886411d8095e57
Time: 2020-03-25
Author: rodluger@gmail.com
File Name: starry/_core/ops/integration.py
Class Name: sTReflectedOp
Method Name: infer_shape


Project Name: arraiy/torchgeometry
Commit Name: 5ea5760e41a3faa385027f9229db49dfcd62481e
Time: 2021-01-16
Author: sj8716643@126.com
File Name: kornia/enhance/normalize.py
Class Name:
Method Name: normalize


Project Name: arraiy/torchgeometry
Commit Name: 5ea5760e41a3faa385027f9229db49dfcd62481e
Time: 2021-01-16
Author: sj8716643@126.com
File Name: kornia/enhance/normalize.py
Class Name:
Method Name: denormalize