2fe3e4ea9758e4e425bdda103c17aef17c59d9b2,tests/generators/resize_conv_generator_test.py,,,#,10

Before Change



from unittest.mock import MagicMock

config = hc.Config({
    "batch_size": 32,
    "channels": 3,
    "x_dims": [32,32],
    "z_projection_depth": 128
})
graph = hc.Config({
    "x": tf.constant(1., shape=[32,32,32])
})

After Change


graph = {
    "x": tf.constant(1., shape=[1,32,32,3])
}
gan = hg.GAN(graph=graph)
generator = ResizeConvGenerator(config=config, gan=gan)

class ResizeConvGeneratorTest(tf.test.TestCase):
    def test_config(self):
Italian Trulli
In pattern: SUPERPATTERN

Frequency: 3

Non-data size: 3

Instances


Project Name: HyperGAN/HyperGAN
Commit Name: 2fe3e4ea9758e4e425bdda103c17aef17c59d9b2
Time: 2017-06-03
Author: martyn@255bits.com
File Name: tests/generators/resize_conv_generator_test.py
Class Name:
Method Name:


Project Name: HyperGAN/HyperGAN
Commit Name: e4fd7cb66ca799fcb11af9ec50ac778186d0a9d7
Time: 2017-06-03
Author: martyn@255bits.com
File Name: tests/discriminators/pyramid_discriminator_test.py
Class Name: PyramidDiscriminatorTest
Method Name: test_create


Project Name: HyperGAN/HyperGAN
Commit Name: daec9b73b7cf692e28c3475f6cfeedf376d5eec7
Time: 2017-06-03
Author: martyn@255bits.com
File Name: tests/discriminators/pyramid_discriminator_test.py
Class Name: PyramidDiscriminatorTest
Method Name: test_create