ad0437cbe8b274d5268914718cf036efe5f4b772,hypergan/graph/graph.py,Graph,create_z_encoding,#Graph#,64

Before Change


        return [d_real, d_fake, d_reals, d_fakes]

    def create_z_encoding(self):
        z_base_config = hc.Config(hc.lookup_functions(self.gan.config.z_encoder_base))
        self.gan.graph.z_base = z_base_config.create(z_base_config, self.gan)
        encoders = [self.gan.graph.z_base]
        for i, encoder in enumerate(self.gan.config.z_encoders):
            encoder = hc.Config(hc.lookup_functions(encoder))
            encoders.append(encoder.create(encoder, self.gan))

After Change



    def create_z_encoding(self):
        self.gan.graph.z = []
        encoders = []
        for i, encoder in enumerate(self.gan.config.encoders):
            encoder = hc.Config(hc.lookup_functions(encoder))
            zs, z_base = encoder.create(encoder, self.gan)
            encoders.append(zs)
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 5

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: ad0437cbe8b274d5268914718cf036efe5f4b772
Time: 2017-02-13
Author: mikkel@255bits.com
File Name: hypergan/graph/graph.py
Class Name: Graph
Method Name: create_z_encoding


Project Name: HyperGAN/HyperGAN
Commit Name: 5a949f8810dbc838c5827928bdcd83f65876a955
Time: 2017-02-13
Author: mikkel@255bits.com
File Name: hypergan/graph/graph.py
Class Name: Graph
Method Name: create_z_encoding


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