Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/lazyprogrammer/machine_learning_examples
/ sample
Method
sample
unsupervised_class3/dcgan_theano.py:587–589 ·
view source on GitHub ↗
(self, n)
Source
from the content-addressed store, hash-verified
585
plt.savefig(
'cost_vs_iteration.png'
)
586
587
def
sample(self, n):
588
Z = np.random.uniform(-1, 1, size=(n, self.latent_dims))
589
return
self.get_sample_images(Z)
590
591
592
Callers
1
fit
Method · 0.95
Calls
no outgoing calls
Tested by
no test coverage detected