code: def compose(transforms):
      if not isinstance(transforms, list):
          raise AssertionError
      for tr in transforms:
          if not callable(tr):
              raise AssertionError("list of functions expected")
  
      def composition(z):
          for tr in transforms:
              z = tr(z)
          return z
  
      return composition
  
imports: from six import iteritems
  from .table import canmergetensor
  from .table import mergetensor
label_desc: Use image node_id 1 for calling a global function with example usage: compose(transforms) and returns: composition, z