code: def resolve_full_name(full_name: str) -> Any:
      """Resolves reference (class, function, value, etc.) of the full_name."""
      if not _is_valid_name(full_name):
          raise ValueError(f"{full_name!r} is not a valid name.")
      segments = full_name.split(".")
      errors = []
      for i in range(len(segments) - 1, 0, -1):
          module_name = ".".join(segments[:i])
          try:
              mod = importlib.import_module(module_name)
              result = _get_nested_attr(mod, segments[i:])
              break
          except (ImportError, AttributeError) as e:
              errors.append(e)
              continue
      else:
          raise ValueError(f"Cannot find {full_name}: {errors}")
      return result
  
imports: import importlib
  from typing import Any, Sequence
label_desc: Use image node_id 5 for calling a global function with example usage: resolve_full_name(full_name) and returns: result