Example #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}
Example #2
0
 def _feed_dict_G(self, gen_size):
     return {self._fakes: sample_uniform(gen_size)}
Example #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}
Example #4
0
 def _feed_dict_D(self, reals, gen_size):
     return {self._reals: reals, self._fakes: sample_uniform(gen_size)}