code: def get_callable_name(fn_or_class: Union[Callable, object]) -> str:
      return getattr(
          fn_or_class, "__name__", fn_or_class.__class__.__name__
      ).lower()
  
imports: from typing import Callable, Dict, Mapping, Sequence, Union
  from torch import nn
label_desc: Use image node_id 1 for calling a global function with example usage: get_callable_name(fn_or_class) and returns: getattr