ecaf07668a288a2edfe49801e31b19047c9d1d98,hypergan/configurable_component.py,ConfigurableComponent,layer_conv_reshape,#ConfigurableComponent#Any#Any#Any#,788
Before Change
stride = options.stride or self.ops.config_option("stride", [1,1])
fltr = options.filter or self.ops.config_option("filter", [3,3])
if type(fltr) == type(""):
fltr=[int(fltr), int(fltr)]
if type(stride) == type(""):
stride=[int(stride), int(stride)]
depth = int(args[0])
After Change
activation = self.ops.lookup(activation_s)
depth = int(args[0])
_, fltr, _ = self.get_conv_options(config, options)
stride = [1, 1]
initializer = None // default to global
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 4
Instances
Project Name: HyperGAN/HyperGAN
Commit Name: ecaf07668a288a2edfe49801e31b19047c9d1d98
Time: 2019-08-22
Author: martyn@255bits.com
File Name: hypergan/configurable_component.py
Class Name: ConfigurableComponent
Method Name: layer_conv_reshape
Project Name: HyperGAN/HyperGAN
Commit Name: ecaf07668a288a2edfe49801e31b19047c9d1d98
Time: 2019-08-22
Author: martyn@255bits.com
File Name: hypergan/configurable_component.py
Class Name: ConfigurableComponent
Method Name: layer_resnet
Project Name: HyperGAN/HyperGAN
Commit Name: ecaf07668a288a2edfe49801e31b19047c9d1d98
Time: 2019-08-22
Author: martyn@255bits.com
File Name: hypergan/configurable_component.py
Class Name: ConfigurableComponent
Method Name: layer_deconv