e12e1d254c77b363d3876893cc4943277dcc5f1f,fairseq/models/fconv.py,FConvEncoder,__init__,#FConvEncoder#Any#Any#Any#Any#Any#Any#Any#,186

Before Change


                ConvTBC(in_channels, out_channels * 2, kernel_size,
                        dropout=dropout, padding=padding)
            )
            self.residuals.append(residual)
            in_channels = out_channels
            layer_in_channels.append(out_channels)
        self.fc2 = Linear(in_channels, embed_dim)

After Change


    Args:
        dictionary (~fairseq.data.Dictionary): encoding dictionary
        embed_dim (int, optional): embedding dimension
        embed_dict (str, optional): filename from which to load pre-trained
            embeddings
        max_positions (int, optional): maximum supported input sequence length
        convolutions (list, optional): the convolutional layer structure. Each
            list item `i` corresponds to convolutional layer `i`. Layers are
            given as ``(out_channels, kernel_width, [residual])``. Residual
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 10

Instances


Project Name: pytorch/fairseq
Commit Name: e12e1d254c77b363d3876893cc4943277dcc5f1f
Time: 2019-04-15
Author: myleott@fb.com
File Name: fairseq/models/fconv.py
Class Name: FConvEncoder
Method Name: __init__


Project Name: elbayadm/attn2d
Commit Name: e12e1d254c77b363d3876893cc4943277dcc5f1f
Time: 2019-04-15
Author: myleott@fb.com
File Name: fairseq/models/fconv.py
Class Name: FConvEncoder
Method Name: __init__


Project Name: facebookresearch/Horizon
Commit Name: d9815f5ee75397f9f75da34e28e7292b98c181d5
Time: 2018-04-12
Author: edoardoc@fb.com
File Name: ml/rl/training/ddpg_predictor.py
Class Name: ActorNet
Method Name: __init__