code: def into_tuple(x):
      """Transforms tensor/list/tuple into tuple."""
      if isinstance(x, list):
          return tuple(x)
      elif isinstance(x, torch.Tensor):
          return (x,)
      elif isinstance(x, tuple):
          return x
      else:
          raise ValueError("x should be tensor, list of tuple")
  
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 2 for calling a global function with example usage: into_tuple(x) and returns: tuple, x, x