e4fd7cb66ca799fcb11af9ec50ac778186d0a9d7,tests/discriminators/pyramid_discriminator_test.py,PyramidDiscriminatorTest,test_create,#PyramidDiscriminatorTest#,20
Before Change
self.assertEqual(discriminator.config.activation, tf.nn.tanh)
def test_create(self):
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,3])
})
After Change
})
with self.test_session():
remove_d_config = hg.Configuration.default()
remove_d_config["discriminators"] = []
remove_d_config["losses"] = []
remove_d_config["trainer"] = None
gan = hg.GAN(config = remove_d_config, graph = {
"x": tf.constant(1, shape=[1,4,4,1], dtype=tf.float32)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances
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: Microsoft/nni
Commit Name: e6629a767b52e1bd4ae63b2ed9fe79ab94f302bf
Time: 2021-01-24
Author: 33053116+J-shang@users.noreply.github.com
File Name: test/ut/tools/nnictl/mock/experiment.py
Class Name:
Method Name: stop_mock_experiment
Project Name: regel/loudml
Commit Name: bbc70825c6042af761aa816bdf5be153f8e7597c
Time: 2018-08-27
Author: christophe@redmintnetwork.fr
File Name: loudml/loudml/config.py
Class Name:
Method Name: load_config