b7c005999921399e383780086127e4a4aa02b079,memcnn/models/affine.py,AffineBlockInverseFunction,forward,#Any#Any#Any#Any#,254

Before Change


            y1.set_()
            del y1
            output = torch.cat([x1, x2], dim=1)
            x1.set_()
            x2.set_()
            del x1, x2

        // save the (empty) input and (non-empty) output variables
        cty.save_for_backward(y.data, output)

After Change


            x1 = (y1 - fmr2) / fmr1
            y1.set_()
            del y1
            output = torch.cat([x1, x2], dim=1).detach_()

        // save input and output variables
        cty.save_for_backward(yin, output)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 6

Non-data size: 3

Instances


Project Name: silvandeleemput/memcnn
Commit Name: b7c005999921399e383780086127e4a4aa02b079
Time: 2019-12-15
Author: silvandeleemput@gmail.com
File Name: memcnn/models/affine.py
Class Name: AffineBlockInverseFunction
Method Name: forward


Project Name: silvandeleemput/memcnn
Commit Name: b7c005999921399e383780086127e4a4aa02b079
Time: 2019-12-15
Author: silvandeleemput@gmail.com
File Name: memcnn/models/affine.py
Class Name: AffineBlockInverseFunction2
Method Name: forward


Project Name: silvandeleemput/memcnn
Commit Name: b7c005999921399e383780086127e4a4aa02b079
Time: 2019-12-15
Author: silvandeleemput@gmail.com
File Name: memcnn/models/affine.py
Class Name: AffineBlockFunction2
Method Name: forward


Project Name: silvandeleemput/memcnn
Commit Name: b7c005999921399e383780086127e4a4aa02b079
Time: 2019-12-15
Author: silvandeleemput@gmail.com
File Name: memcnn/models/affine.py
Class Name: AffineBlockFunction
Method Name: forward


Project Name: silvandeleemput/memcnn
Commit Name: b7c005999921399e383780086127e4a4aa02b079
Time: 2019-12-15
Author: silvandeleemput@gmail.com
File Name: memcnn/models/additive.py
Class Name: AdditiveBlockFunction2
Method Name: forward


Project Name: silvandeleemput/memcnn
Commit Name: b7c005999921399e383780086127e4a4aa02b079
Time: 2019-12-15
Author: silvandeleemput@gmail.com
File Name: memcnn/models/additive.py
Class Name: AdditiveBlockInverseFunction2
Method Name: forward


Project Name: silvandeleemput/memcnn
Commit Name: b7c005999921399e383780086127e4a4aa02b079
Time: 2019-12-15
Author: silvandeleemput@gmail.com
File Name: memcnn/models/affine.py
Class Name: AffineBlockInverseFunction
Method Name: forward