code: def unwrap_dead_wrappers(args):
      # NB: doesn't use tree_map_only for performance reasons
      result = tuple(
          unwrap_if_dead(arg) if isinstance(arg, torch.Tensor) else arg
          for arg in args
      )
      return result
  
imports: import contextlib
  import torch
  from torch._C._functorch import set_single_level_autograd_function_allowed, get_single_level_autograd_function_allowed, unwrap_if_dead
  from typing import Union, Tuple
label_desc: Use image node_id 2 for calling a global function with example usage: unwrap_dead_wrappers(args) and returns: result