code: def get_fpn_config(fpn_name, min_level, max_level, weight_method):
      """Get fpn related configuration."""
      if not fpn_name:
          fpn_name = "bifpn"
      name_to_config = {
          "bifpn": bifpn_config(min_level, max_level, weight_method),
          "qufpn": qufpn_config(min_level, max_level, weight_method),
          # legacy only: to be deprecated.
          "bifpn_dyn": bifpn_config(
              min_level, max_level, weight_method
          ),
      }
      return name_to_config[fpn_name]
  
imports: import itertools
  import hparams_config
label_desc: Use image node_id 3 for calling a global function with example usage: get_fpn_config(fpn_name, min_level, max_level, weight_method) and returns: name_to_config