code: def fun_name(f):
      try:
          return f.__name__
      except:
          return str(f)
  
imports: from __future__ import annotations
  from functools import partial
  import operator
  from typing import Any, Callable, NamedTuple
  import weakref
  from jax._src import config
  from jax._src import core
  from jax._src import traceback_util
  from jax._src.tree_util import tree_map
  from jax._src.util import curry
label_desc: Use image node_id 3 for calling a global function with example usage: fun_name(f) and returns: f, str