December 2018
Intermediate to advanced
268 pages
8h 23m
English
class Discriminator(object): def __init__(self, width = 28, height= 28, channels = 1, latent_size=100,model_type = 'simple'):
self.W = widthself.H = heightself.C = channelsself.CAPACITY = width*height*channelsself.SHAPE = (width,height,channels)
if model_type=='simple': self.Discriminator = self.model() self.OPTIMIZER ...
Read now
Unlock full access