23aef76ed2a1a3d2fc0c3f1949a66b09d3829844,memcnn/models/additive.py,AdditiveBlockInverseFunction2,backward,#Any#Any#,513

Before Change


        // are all variable objects now
        y, output = cty.saved_tensors

        with set_grad_enabled(False):
            x1, x2 = torch.chunk(output, 2, dim=1)
            x1, x2 = x1.contiguous(), x2.contiguous()

After Change


        // are all variable objects now
        y, output = cty.saved_tensors

        with torch.no_grad():
            x1, x2 = torch.chunk(output, 2, dim=1)
            x1, x2 = x1.contiguous(), x2.contiguous()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 8

Non-data size: 2

Instances


Project Name: silvandeleemput/memcnn
Commit Name: 23aef76ed2a1a3d2fc0c3f1949a66b09d3829844
Time: 2018-10-15
Author: tychovdo@gmail.com
File Name: memcnn/models/additive.py
Class Name: AdditiveBlockInverseFunction2
Method Name: backward


Project Name: silvandeleemput/memcnn
Commit Name: e22c2955f1ef440634ec9119d8cbdd626933d5f7
Time: 2018-10-14
Author: tychovdo@gmail.com
File Name: memcnn/models/revop.py
Class Name: AdditiveBlockFunction2
Method Name: forward


Project Name: silvandeleemput/memcnn
Commit Name: e22c2955f1ef440634ec9119d8cbdd626933d5f7
Time: 2018-10-14
Author: tychovdo@gmail.com
File Name: memcnn/models/revop.py
Class Name: AdditiveBlockInverseFunction
Method Name: forward


Project Name: silvandeleemput/memcnn
Commit Name: 23aef76ed2a1a3d2fc0c3f1949a66b09d3829844
Time: 2018-10-15
Author: tychovdo@gmail.com
File Name: memcnn/models/additive.py
Class Name: AdditiveBlockFunction2
Method Name: backward


Project Name: silvandeleemput/memcnn
Commit Name: e22c2955f1ef440634ec9119d8cbdd626933d5f7
Time: 2018-10-14
Author: tychovdo@gmail.com
File Name: memcnn/models/revop.py
Class Name: AdditiveBlockInverseFunction2
Method Name: forward


Project Name: silvandeleemput/memcnn
Commit Name: e22c2955f1ef440634ec9119d8cbdd626933d5f7
Time: 2018-10-14
Author: tychovdo@gmail.com
File Name: memcnn/models/revop.py
Class Name: AdditiveBlockFunction
Method Name: forward


Project Name: silvandeleemput/memcnn
Commit Name: 23aef76ed2a1a3d2fc0c3f1949a66b09d3829844
Time: 2018-10-15
Author: tychovdo@gmail.com
File Name: memcnn/models/additive.py
Class Name: AdditiveBlockFunction
Method Name: backward


Project Name: silvandeleemput/memcnn
Commit Name: 23aef76ed2a1a3d2fc0c3f1949a66b09d3829844
Time: 2018-10-15
Author: tychovdo@gmail.com
File Name: memcnn/models/additive.py
Class Name: AdditiveBlockInverseFunction
Method Name: backward