(block_id, fmap_base=4096, fmap_decay=1.0, fmap_max=256)
return int(min(fmap_base / math.pow(2.0, block_id * fmap_decay), fmap_max))
Computes number of filters of block `block_id`.
Computes number of filters of block `block_id`.
Computes number of filters of block block_id .
def num_filters(block_id, fmap_base=4096, fmap_decay=1.0, fmap_max=256):
  """Computes number of filters of block `block_id`."""
  return int(min(fmap_base / math.pow(2.0, block_id * fmap_decay), fmap_max))
def num_filters ( block_id , fmap_base = 4096 , fmap_decay = 1.0 , fmap_max = 256 ) : return int ( min ( fmap_base / math . pow ( 2.0 , block_id * fmap_decay ) , fmap_max ) )