code: 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
          )
      )
  
imports: import math
  from magenta.models.gansynth.lib import layers
  import tensorflow.compat.v1
  import tf_slim
label_desc: Use image node_id 8 for calling a global function with example usage: num_filters(block_id, fmap_base, fmap_decay, fmap_max) and returns: int