code: def _find_method_from_name(scope, name):
      method = name.split(".", 1)
      if isinstance(scope, dict):
          child = scope[method[0]]
      else:
          child = getattr(scope, method[0])
      if len(method) == 1:
          return child
      return _find_method_from_name(child, method[1])
  
file_path: probability/tensorflow_probability/python/internal/backend/numpy/_utils.py
imports: import functools
  import importlib
  import types
  import numpy
  from tensorflow_probability.python.internal.backend.numpy import nest
label_desc: Use image node_id 1 for calling a global function with example usage: _find_method_from_name(scope, name) and returns: _find_method_from_name, child