862689e911d27f9a07eeb3ee65a849b2889a1f1f,VAEs/vq-vae/models/gated_pixel_cnn.py,GatedPixelCNN,gated_conv,#GatedPixelCNN#,53

Before Change


                                       pad=(pad_dim_0, pad_dim_1), apply_w=mask_type, name="conv_f")
                out_g = PF.convolution(x, self.num_features, kernel_shape,
                                       pad=(pad_dim_0, pad_dim_1), apply_w=mask_type, name="conv_g")
                if type(payload) == nn._variable.Variable:
                    out_f += payload
                    out_g += payload
                if self.conditional:

After Change


                                       pad=(pad_dim_0, pad_dim_1), apply_w=mask_type, name="conv_f")
                out_g = PF.convolution(x, self.num_features, kernel_shape,
                                       pad=(pad_dim_0, pad_dim_1), apply_w=mask_type, name="conv_g")
                if isinstance(payload, nn.Variable):
                    out_f += payload
                    out_g += payload
                if self.conditional:
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 6

Instances


Project Name: sony/nnabla-examples
Commit Name: 862689e911d27f9a07eeb3ee65a849b2889a1f1f
Time: 2020-11-04
Author: Krishna.Wadhwani@sony.com
File Name: VAEs/vq-vae/models/gated_pixel_cnn.py
Class Name: GatedPixelCNN
Method Name: gated_conv


Project Name: mariogeiger/se3cnn
Commit Name: 9c309a959052ec40cf92cf4baa3894f5118cf8c4
Time: 2019-07-08
Author: geiger.mario@gmail.com
File Name: se3cnn/blocks/point_gated_block.py
Class Name: PointGatedBlock
Method Name: __init__


Project Name: google/uis-rnn
Commit Name: 88d3f856936b8620e999386476bcdd0f96ae846b
Time: 2018-11-14
Author: quanw@google.com
File Name: model/uisrnn.py
Class Name: UISRNN
Method Name: fit