671ee67a03bd5bebf4c405af59eec45d3ca2a288,deeplift/blobs/convolution.py,Flatten,_get_mxts_increments_for_inputs,#Flatten#,602

Before Change



    def _get_mxts_increments_for_inputs(self):
        input_act_vars = self._get_input_activation_vars() 
        return B.unflatten_keeping_first(
                x=self.get_mxts(), like=input_act_vars
            )

After Change



    def _get_mxts_increments_for_inputs(self):
        input_act_vars = self._get_input_activation_vars() 
        pos_mxts_increments = B.unflatten_keeping_first(
                x=self.get_pos_mxts(), like=input_act_vars)
        neg_mxts_increments = B.unflatten_keeping_first(
                x=self.get_neg_mxts(), like=input_act_vars)
        return pos_mxts_increments, neg_mxts_increments
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 6

Instances


Project Name: kundajelab/deeplift
Commit Name: 671ee67a03bd5bebf4c405af59eec45d3ca2a288
Time: 2017-04-14
Author: avanti.shrikumar@gmail.com
File Name: deeplift/blobs/convolution.py
Class Name: Flatten
Method Name: _get_mxts_increments_for_inputs


Project Name: kundajelab/deeplift
Commit Name: 671ee67a03bd5bebf4c405af59eec45d3ca2a288
Time: 2017-04-14
Author: avanti.shrikumar@gmail.com
File Name: deeplift/blobs/convolution.py
Class Name: MaxPool1D
Method Name: _get_mxts_increments_for_inputs


Project Name: kundajelab/deeplift
Commit Name: 671ee67a03bd5bebf4c405af59eec45d3ca2a288
Time: 2017-04-14
Author: avanti.shrikumar@gmail.com
File Name: deeplift/blobs/convolution.py
Class Name: MaxPool2D
Method Name: _get_mxts_increments_for_inputs


Project Name: kundajelab/deeplift
Commit Name: 671ee67a03bd5bebf4c405af59eec45d3ca2a288
Time: 2017-04-14
Author: avanti.shrikumar@gmail.com
File Name: deeplift/blobs/core.py
Class Name: BatchNormalization
Method Name: _get_mxts_increments_for_inputs