示例#1
0
 def _feed_dict_G(self, gen_size):
     labels = sample_class(gen_size[0], self._num_class)
     fakes = sample_uniform(gen_size)
     return {self._labels: labels, self._fakes: fakes}
示例#2
0
文件: wgan.py 项目: RogerLRH/gan_tf
 def _feed_dict_G(self, gen_size):
     return {self._fakes: sample_uniform(gen_size)}
示例#3
0
 def _feed_dict_D(self, reals, labels, gen_size):
     fakes = sample_uniform(gen_size)
     return {self._reals: reals, self._labels: labels, self._fakes: fakes}
示例#4
0
文件: wgan.py 项目: RogerLRH/gan_tf
 def _feed_dict_D(self, reals, gen_size):
     return {self._reals: reals, self._fakes: sample_uniform(gen_size)}