code: def _commingle_loop_vars_block(block):
      for op in list(block.operations):
          for b in op.blocks:
              _commingle_loop_vars_block(b)
  
          if op.op_type != "while_loop":
              continue
  
          for block in op.blocks:
              for v_out, vx_in in zip(op.outputs, block.inputs):
                  # Disable check as v_out is not visible in block.
                  block.replace_uses_of_var_after_op(
                      anchor_op=None,
                      old_var=vx_in,
                      new_var=v_out,
                      no_check_var_visibility=True,
                  )
  
              # replace block inputs
              block._block_inputs = op.outputs
  
imports: from coremltools.converters.mil.mil.passes.graph_pass import AbstractGraphPass
  from coremltools.converters.mil.mil.passes.pass_registry import register_pass
label_desc: Use image node_id 1 for calling a global function with example usage: _commingle_loop_vars_block(block) without return types