code: def cond_to_where(tfssa):
      for k, v in tfssa.functions.items():
          while True:
              stuff_done = CondToWhere().cond_to_where(v.graph)
              if not stuff_done:
                  break
  
file_path: coremltools/coremltools/converters/mil/frontend/tensorflow/tf_graph_pass/cond_to_where.py
imports: from coremltools import _logger
  from coremltools._deps import _HAS_TF_2
  from ..basic_graph_ops import delete_node, disconnect_edge
  from .visitors import FindAllUpstreamTerminals
label_desc: Use image node_id 2 for calling a global function with example usage: cond_to_where(tfssa) without return types