Esempio n. 1
0
 def _reduced_default_blocks(self):
     """Returns the default blocks, scaled down to make test run faster."""
     return [
         pix2pix.Block(b.num_filters // 32, b.decoder_keep_prob)
         for b in pix2pix._default_generator_blocks()
     ]
Esempio n. 2
0
 def _reduced_default_blocks(self):
   """Returns the default blocks, scaled down to make test run faster."""
   return [pix2pix.Block(b.num_filters // 32, b.decoder_keep_prob)
           for b in pix2pix._default_generator_blocks()]