b499c2fd5b0907290d0778ec8c76144134f3d776,hypergan/configurable_component.py,ConfigurableComponent,layer_subpixel,#ConfigurableComponent#Any#Any#Any#,888

Before Change



        layers = [nn.Conv2d(self.current_channels, channels*4, options.filter or 3, 1, 1), nn.PixelShuffle(2)]
        if options.activation != "null":
            layers.append(nn.ReLU())//TODO
        self.current_width = self.current_width * 2 //TODO
        self.current_height = self.current_height * 2 //TODO
        self.current_channels = channels

After Change



        layers = [nn.Conv2d(self.current_channels, channels*4, options.filter or 3, 1, 1), nn.PixelShuffle(2)]
        if options.activation != "null":
            layers.append(self.activation_to_module(options.activation or "relu"))
        self.current_width = self.current_width * 2 //TODO
        self.current_height = self.current_height * 2 //TODO
        self.current_channels = channels
        self.current_input_size = self.current_channels * self.current_width * self.current_height
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 4

Non-data size: 7

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: b499c2fd5b0907290d0778ec8c76144134f3d776
Time: 2020-02-08
Author: martyn@255bits.com
File Name: hypergan/configurable_component.py
Class Name: ConfigurableComponent
Method Name: layer_subpixel


Project Name: HyperGAN/HyperGAN
Commit Name: b499c2fd5b0907290d0778ec8c76144134f3d776
Time: 2020-02-08
Author: martyn@255bits.com
File Name: hypergan/configurable_component.py
Class Name: ConfigurableComponent
Method Name: layer_resize_conv


Project Name: HyperGAN/HyperGAN
Commit Name: b499c2fd5b0907290d0778ec8c76144134f3d776
Time: 2020-02-08
Author: martyn@255bits.com
File Name: hypergan/configurable_component.py
Class Name: ConfigurableComponent
Method Name: layer_conv


Project Name: HyperGAN/HyperGAN
Commit Name: b499c2fd5b0907290d0778ec8c76144134f3d776
Time: 2020-02-08
Author: martyn@255bits.com
File Name: hypergan/configurable_component.py
Class Name: ConfigurableComponent
Method Name: layer_deconv