code: def into_orig_type(x, orig_type):
      """Inverts into_tuple function."""
      if orig_type is tuple:
          return x
      if orig_type is list:
          return list(x)
      if orig_type is torch.Tensor:
          return x[0]
      else:
          assert False
  
file_path: espnet/espnet2/enh/layers/adapt_layers.py
imports: from functools import partial
  import torch
  import torch.nn
label_desc: Use image node_id 3 for calling a global function with example usage: into_orig_type(x, orig_type) and returns: x, list, x