MCPcopy Index your code
hub / github.com/MorvanZhou/Tensorflow-Tutorial / artist_works

Function artist_works

tutorial-contents/406_GAN.py:32–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

30
31
32def artist_works(): # painting from the famous artist (real target)
33 a = np.random.uniform(1, 2, size=BATCH_SIZE)[:, np.newaxis]
34 paintings = a * np.power(PAINT_POINTS, 2) + (a-1)
35 return paintings
36
37
38with tf.variable_scope('Generator'):

Callers 1

406_GAN.pyFile · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected