code: def build_prior_generator(cfg, default_args=None):
      warnings.warn(
          "``build_prior_generator`` would be deprecated soon, please use "
          "``mmdet.registry.TASK_UTILS.build()`` "
      )
      return TASK_UTILS.build(cfg, default_args=default_args)
  
file_path: mmdetection/mmdet/models/task_modules/builder.py
imports: import warnings
  from mmdet.registry import TASK_UTILS
label_desc: Use image node_id 6 for calling a global function with example usage: build_prior_generator(cfg, default_args) and returns: TASK_UTILS