MCPcopy
hub / github.com/tdeboissiere/DeepLearningImplementations / sample_noise

Function sample_noise

InfoGAN/src/utils/data_utils.py:66–68  ·  view source on GitHub ↗
(noise_scale, batch_size, noise_dim)

Source from the content-addressed store, hash-verified

64
65
66def sample_noise(noise_scale, batch_size, noise_dim):
67
68 return np.random.normal(scale=noise_scale, size=(batch_size, noise_dim[0]))
69
70
71def sample_cat(batch_size, cat_dim):

Callers 3

get_disc_batchFunction · 0.70
get_gen_batchFunction · 0.70
plot_generated_batchFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected