code: def rewrite_control_flow_functions(tf_ssa):
      for fn_name, fn in tf_ssa.functions.items():
          _rewrite_cond_functions(tf_ssa, fn)
      for fn_name, fn in tf_ssa.functions.items():
          _eliminate_loop_cond_nodes(tf_ssa, fn)
          _rewrite_while_loop_functions(tf_ssa, fn)
  
file_path: coremltools/coremltools/converters/mil/frontend/tensorflow2/tf_graph_pass/rewrite_control_flow_functions.py
imports: from coremltools import _logger
  from coremltools.converters.mil.frontend.tensorflow.basic_graph_ops import connect_edge, connect_edge_at_index, delete_node, disconnect_edge, replace_dest, replace_node
  from coremltools.converters.mil.frontend.tensorflow.parsed_tf_node import ParsedTFNode
label_desc: Use image node_id 11 for calling a global function with example usage: rewrite_control_flow_functions(tf_ssa) without return types