code: def _flatten_tfms(t):
      flat = []
      for o in t:
          if _is_iter(o):
              flat += [i for i in o]
          else:
              flat.append(o)
      return flat
  
imports: import albumentations
  from itertools import chain
  from icevision.imports import *
  from icevision.utils import *
  from icevision.core import *
  from icevision.tfms.transform import *
  from icevision.tfms.albumentations.albumentations_helpers import get_size_without_padding, get_transform
label_desc: Use image node_id 1 for calling a global function with example usage: _flatten_tfms(t) and returns: flat