9f526d266d23a6c887966bbd550555bd188926eb,hypergan/generators/resizable_generator.py,ResizableGenerator,create,#ResizableGenerator#,34

Before Change



        dep = config.channels or gan.channels()

        options = {"avg_pool": 1, "stride": 1, "filter": 3, "activation": "null"}

        if block == "deconv":
            options["stride"] = 2
            net = self.layer_deconv(None, [dep], options)

After Change


            elif block == "resize_conv":
                net = self.layer_resize_conv(None, [dep], options)
            conv_layers.append(net)
            conv_layers.append(nn.LeakyReLU())

        dep = config.channels or gan.channels()
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: 9f526d266d23a6c887966bbd550555bd188926eb
Time: 2020-02-09
Author: martyn@255bits.com
File Name: hypergan/generators/resizable_generator.py
Class Name: ResizableGenerator
Method Name: create


Project Name: tensorflow/models
Commit Name: d5747aacf26e5f56ab12680640883f19e5d52e56
Time: 2020-11-07
Author: banna3vishnu@gmail.com
File Name: official/vision/beta/projects/yolo/modeling/layers/nn_blocks.py
Class Name: DarkConv
Method Name: build


Project Name: tensorflow/models
Commit Name: d5747aacf26e5f56ab12680640883f19e5d52e56
Time: 2020-11-07
Author: banna3vishnu@gmail.com
File Name: official/vision/beta/projects/yolo/modeling/layers/nn_blocks.py
Class Name: DarkResidual
Method Name: build