ad0437cbe8b274d5268914718cf036efe5f4b772,hypergan/graph/graph.py,Graph,create_z_encoding,#Graph#,64
Before Change
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
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)
self.gan.graph.z.append(z_base)
In pattern: SUPERPATTERN
Frequency: 4
Non-data size: 4
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: SpiNNakerManchester/sPyNNaker
Commit Name: 99fb650dee4598e3bd61da14b6e03f940f34e018
Time: 2018-01-16
Author: donal.k.fellows@manchester.ac.uk
File Name: spynnaker/pyNN/connections/spynnaker_poisson_control_connection.py
Class Name: SpynnakerPoissonControlConnection
Method Name: set_rates
Project Name: pantsbuild/pants
Commit Name: 008ce42cb55e529319f53abeb00fc6cf3918f548
Time: 2018-08-06
Author: stuhood@twitter.com
File Name: src/python/pants/pantsd/service/scheduler_service.py
Class Name: SchedulerService
Method Name: prefork
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