code: def arguments_ema(parser: argparse.ArgumentParser):
      group = parser.add_argument_group(
          title="EMA",
          description="Exponential moving average arguments",
      )
      group.add_argument(
          "--ema.enable",
          action="store_true",
          help="Use exponential moving average",
      )
      group.add_argument(
          "--ema.momentum",
          type=float,
          default=0.0001,
          help="EMA momentum. Defaults to 0.0001.",
      )
      group.add_argument(
          "--ema.copy-at-epoch",
          type=int,
          default=-1,
          help="Update model weights with EMA model at this epoch",
      )
      return parser
  
file_path: ml-cvnets/cvnets/misc/averaging_utils.py
imports: import argparse
  from copy import deepcopy
  from typing import Optional
  import torch
  from torch import nn
label_desc: Use image node_id 1 for calling a global function with example usage: arguments_ema(parser) and returns: parser