f54fbe18ae39c164ea519adab071da3ab68836ec,hypergan/gans/alpha_gan.py,AlphaGAN,create,#AlphaGAN#,33
Before Change
config = self.config
d2 = dict(config.discriminator)
d2["class"] = self.ops.lookup("class:hypergan.discriminators.pyramid_discriminator.PyramidDiscriminator")
encoder = self.create_component(d2)
encoder.ops.describe("encoder")
encoder.create(self.inputs.x)
After Change
uniform_encoder = UniformEncoder(self, config.encoder)
uniform_encoder.create()
self.generator = self.create_component(config.generator)
z = uniform_encoder.sample
x = self.inputs.x
z_hat = uniform_encoder.sample
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
Project Name: HyperGAN/HyperGAN
Commit Name: f54fbe18ae39c164ea519adab071da3ab68836ec
Time: 2017-06-16
Author: martyn@255bits.com
File Name: hypergan/gans/alpha_gan.py
Class Name: AlphaGAN
Method Name: create
Project Name: facebookresearch/pytext
Commit Name: 85f8b90bfd82e0a68de4e6a2b38e7ec79c6a5ec4
Time: 2019-06-09
Author: zsc@fb.com
File Name: pytext/task/tasks.py
Class Name: IntentSlotTask
Method Name: create_metric_reporter
Project Name: HyperGAN/HyperGAN
Commit Name: 5731a35c9e2dd637c2d442893367330fc88cc48a
Time: 2018-08-28
Author: mikkel@255bits.com
File Name: examples/next-frame-only-c.py
Class Name: AliNextFrameGAN
Method Name: create