code: def call_to_str(base, *args, **kwargs):
      """Construct a string representation of a call.
  
      Args:
          base (str): name of the call
          args (tuple, optional): args to ``base``
          kwargs (dict, optional): kwargs supplied to ``base``
  
      Returns:
          str: A string representation of base(*args, **kwargs)
      """
      name = f"{base}("
      if args:
          name += ", ".join(repr(arg) for arg in args)
          if kwargs:
              name += ", "
      if kwargs:
          name += ", ".join(
              f"{key}={repr(arg)}" for key, arg in kwargs.items()
          )
      name += ")"
      return name
  
file_path: colossalai/colossalai/utils/model/utils.py
imports: import functools
  from typing import Optional
  import torch
label_desc: Use image node_id 2 for calling a global function with example usage: call_to_str(base) and returns: name