code: def reduce_transposes(prog):
      for f_name, f in prog.functions.items():
          reduce_transposes_block(f)
  
imports: from __future__ import print_function
  from __future__ import division
  from __future__ import absolute_import
  from coremltools.converters.mil.mil.passes.pass_registry import register_pass
  from coremltools.converters.mil.mil import Builder
  from coremltools.converters.mil.mil.var import Var
  import logging
  import numpy
  import copy
  from collections import defaultdict
label_desc: Use image node_id 5 for calling a global function with example usage: reduce_transposes(prog) without return types