code: def copy_docstring(
      tf_method_name, new_fn
  ):  # pylint: disable=unused-argument
      """Wraps new_fn with the doc of original_fn if TensorFlow can be imported."""
      if not can_copy_docstring:
          return new_fn
      original_fn = _find_method_from_name(globals(), tf_method_name)
  
      @wrapt.decorator
      def wrap(wrapped, instance, args, kwargs):
          del instance, wrapped
          return new_fn(*args, **kwargs)
  
      return wrap(original_fn)
  
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 2 for calling a global function with example usage: copy_docstring(tf_method_name, new_fn) and returns: wrap, new_fn, new_fn