code: def unwrap(v):
      if type(v) in {tuple, list}:
          return type(v)(unwrap(vi) for vi in v)
  
      return v._data if isinstance(v, TensorWrapper) else v
  
imports: import collections
  import torch
  from torch import Tensor
label_desc: Use image node_id 2 for calling a global function with example usage: unwrap(v) and returns: unknown, type