ca071a6dfd7ad729a50127d1e43afe417b3230b6,gluonnlp/model/convolutional_encoder.py,ConvolutionalEncoder,__init__,#ConvolutionalEncoder#Any#Any#Any#Any#Any#Any#Any#Any#,88

Before Change


                                              use_bias=True))
                    maxpool_output_size += num_filter

            self._activation = nn.Activation(conv_layer_activation)

            if self._num_highway:
                self._highways = Highway(maxpool_output_size,
                                         self._num_highway,

After Change


                                      kernel_size=ngram_size,
                                      use_bias=True))
                    seq.add(gluon.nn.HybridLambda(lambda F, x: F.max(x, axis=2)))
                    seq.add(nn.Activation(conv_layer_activation))
                    self._convs.add(seq)
                    maxpool_output_size += num_filter
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: dmlc/gluon-nlp
Commit Name: ca071a6dfd7ad729a50127d1e43afe417b3230b6
Time: 2018-07-09
Author: leonard@lausen.nl
File Name: gluonnlp/model/convolutional_encoder.py
Class Name: ConvolutionalEncoder
Method Name: __init__


Project Name: keras-team/keras
Commit Name: 4fab0bf9a8ad03d63af0797b51526a0391e55a87
Time: 2017-06-27
Author: francois.chollet@gmail.com
File Name: keras/applications/mobilenet.py
Class Name:
Method Name: _depthwise_conv_block


Project Name: keras-team/keras
Commit Name: 9a4598da50457317a7ffdc681d2a2998380fa5a1
Time: 2017-06-27
Author: francois.chollet@gmail.com
File Name: keras/applications/mobilenet.py
Class Name:
Method Name: _conv_block