2f00e2570460fe0a6acd8db94c4d8624b3ddd1eb,inferno/tests/test_net.py,MyModule,forward,#MyModule#Any#,33

Before Change


    def forward(self, X, **kwargs):
        X = self.nonlin(self.dense0(X))
        X = self.dropout(X)
        X = F.relu(self.dense1(X))
        X = F.softmax(self.output(X))
        return X


class TestNeuralNet:

After Change


    def forward(self, X, **kwargs):
        X = self.nonlin(self.dense0(X))
        X = self.dropout(X)
        X = self.dense1(X)
        X = self.output(X)
        return X


class TestNeuralNetRegressor:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: dnouri/skorch
Commit Name: 2f00e2570460fe0a6acd8db94c4d8624b3ddd1eb
Time: 2017-07-21
Author: marian.tietz@ottogroup.com
File Name: inferno/tests/test_net.py
Class Name: MyModule
Method Name: forward


Project Name: dnouri/skorch
Commit Name: 5c3a5551394a6eee258344e418520f203c06e4c8
Time: 2017-07-21
Author: benjamin.bossan@ottogroup.com
File Name: inferno/tests/test_net.py
Class Name: MyModule
Method Name: forward


Project Name: dnouri/skorch
Commit Name: 23b6aede14b5fb9e813d3110c35e13668b3ed06c
Time: 2017-07-21
Author: benjamin.bossan@ottogroup.com
File Name: inferno/tests/test_net.py
Class Name: MyModule
Method Name: forward