code: def arguments_anchor_gen(
      parser: argparse.ArgumentParser,
  ) -> argparse.ArgumentParser:
      """Arguments related to anchor generator for object detection"""
      group = parser.add_argument_group(
          "Anchor generator", "Anchor generator"
      )
      group.add_argument(
          "--anchor-generator.name",
          type=str,
          help="Name of the anchor generator",
      )
  
      # add class specific arguments
      parser = ANCHOR_GEN_REGISTRY.all_arguments(parser)
      return parser
  
imports: import argparse
  from cvnets.anchor_generator.base_anchor_generator import BaseAnchorGenerator
  from utils import logger
  from utils.registry import Registry
label_desc: Use image node_id 1 for calling a global function with example usage: arguments_anchor_gen(parser) and returns: parser