code: def deprecated_function_arg(arg_name: str, fix: str):
      def deprecated_decorator(f):
          @wraps(f)
          def wrapper(*arg, **kwargs):
              if arg_name in kwargs:
                  raise TypeError(
                      f"{arg_name} is deprecated in {f.__name__}: {fix}"
                  )
              return f(*arg, **kwargs)
  
          return wrapper
  
      return deprecated_decorator
  
file_path: bluefog/bluefog/torch/utility.py
imports: from typing import Any, List, Optional
  from functools import wraps
  import collections
  import numpy
  import torch
  import bluefog.torch
label_desc: Use image node_id 4 for calling a global function with example usage: deprecated_function_arg(arg_name, fix) and returns: deprecated_decorator, wrapper, f