de06e41b75090b1f48ed2424e37f0a2808bced0a,python/baseline/pytorch/classify/model.py,ConvModel,create,#Any#Any#,28

Before Change


            )
            model.convs.append(conv)
            // Add the module so its managed correctly
            model.add_module("conv-%d" % i, conv)

        // Width of concat of parallel convs
        input_dim = cmotsz * len(filtsz)
        model.fconns = nn.Sequential()

After Change


            )
            convs.append(conv)
            // Add the module so its managed correctly
        model.convs = nn.ModuleList(convs)
        // Width of concat of parallel convs
        input_dim = cmotsz * len(filtsz)
        model.fconns = nn.Sequential()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 4

Instances


Project Name: dpressel/mead-baseline
Commit Name: de06e41b75090b1f48ed2424e37f0a2808bced0a
Time: 2017-07-17
Author: dpressel@gmail.com
File Name: python/baseline/pytorch/classify/model.py
Class Name: ConvModel
Method Name: create


Project Name: pytorch/examples
Commit Name: cae6d715b7b0182fee52bfc3db2c695c8058bc96
Time: 2017-03-14
Author: bryan.mccann.is@gmail.com
File Name: OpenNMT/onmt/Models.py
Class Name: StackedLSTM
Method Name: __init__


Project Name: OpenNMT/OpenNMT-py
Commit Name: ec457e6f1ce33afc5c6a8c7ab8efc3bddf7058d9
Time: 2017-03-14
Author: bryan.mccann.is@gmail.com
File Name: onmt/Models.py
Class Name: StackedLSTM
Method Name: __init__