code: def _get_unbound_function(m):
      # TODO(mdan): Figure out why six.get_unbound_function fails in some cases.
      # The failure case is for tf.keras.Model.
      if hasattr(m, "__func__"):
          return m.__func__
      if hasattr(m, "im_func"):
          return m.im_func
      return m
  
file_path: DALI/dali/python/nvidia/dali/_autograph/pyct/inspect_utils.py
imports: import inspect
  import itertools
  import linecache
  import sys
  import threading
  import types
  import six
label_desc: Use image node_id 9 for calling a global function with example usage: _get_unbound_function(m) and returns: m, m, m