c2b21cba9612f83bc2b9d7ef2a9c43da1fd4cbdb,hypergan/configurable_component.py,ConfigurableComponent,layer_deconv,#ConfigurableComponent#Any#Any#Any#,621

Before Change


        if len(args) > 0:
            channels = int(args[0])
        else:
            channels = self.ops.shape(net)[-1]

        options = hc.Config(options)
        self.nn_layers.append(nn.ConvTranspose2d(self.current_channels, channels, options.filter or 3, options.stride or 2, (options.stride or 2) // 1))
        self.nn_layers.append(nn.ReLU())//TODO
        self.current_channels = channels
        self.current_width = self.current_width * 2 //TODO
        self.current_height = self.current_height * 2 //TODO

After Change


        filter = 4 //TODO
        stride = 2
        padding = 1
        layers = [nn.ConvTranspose2d(self.current_channels, channels, 4, 2, 1)]
        if options.activation != "null":
            layers.append(nn.ReLU())//TODO
        self.nn_layers.append(nn.Sequential(*layers))
        self.current_channels = channels
        self.current_width = self.current_width * 2 //TODO
        self.current_height = self.current_height * 2 //TODO
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 7

Instances


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


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


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