dde8e4136ef8b8a6d38d1d466764573ddb2e0f32,GPy/mappings/constant.py,Constant,gradients_X,#Constant#,39

Before Change


        self.C.gradient = 0.

    def gradients_X(self, dL_dF, X):
        return dL_dF.sum(0)

After Change


        self.C.gradient = dL_dF.sum(0)

    def gradients_X(self, dL_dF, X):
        return np.zeros_like(X)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 4

Instances


Project Name: SheffieldML/GPy
Commit Name: dde8e4136ef8b8a6d38d1d466764573ddb2e0f32
Time: 2015-04-30
Author: alan.daniel.saul@gmail.com
File Name: GPy/mappings/constant.py
Class Name: Constant
Method Name: gradients_X


Project Name: erikwijmans/Pointnet2_PyTorch
Commit Name: fd55cf8ea1dd674fbe60ade84709fe5666dd9434
Time: 2020-04-16
Author: etw@gatech.edu
File Name: pointnet2_ops_lib/pointnet2_ops/pointnet2_utils.py
Class Name: GroupingOperation
Method Name: backward


Project Name: erikwijmans/Pointnet2_PyTorch
Commit Name: fd55cf8ea1dd674fbe60ade84709fe5666dd9434
Time: 2020-04-16
Author: etw@gatech.edu
File Name: pointnet2_ops_lib/pointnet2_ops/pointnet2_utils.py
Class Name: ThreeInterpolate
Method Name: backward


Project Name: rtavenar/tslearn
Commit Name: d8d01d2f14c75dd3d3fa854c52f5cdf411049987
Time: 2020-12-15
Author: romain.tavenard@univ-rennes2.fr
File Name: tslearn/shapelets/shapelets.py
Class Name: GlobalMinPooling1D
Method Name: call