code: def divide_to_multiply_block(block):
      for op in list(block.operations):
          for b in op.blocks:
              divide_to_multiply_block(b)
          if len(op.blocks) > 0:
              # This op can't be divide.
              continue
  
          if op.op_type == "real_div" and op.y.val is not None:
              with block:
                  x = mb.mul(
                      x=op.x,
                      y=1.0 / op.y.val,
                      name="_inversed_" + op.name,
                      before_op=op,
                  )
                  op.enclosing_block.replace_uses_of_var_after_op(
                      anchor_op=op, old_var=op.outputs[0], new_var=x
                  )
                  block.remove_ops([op])
  
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
label_desc: Use image node_id 1 for calling a global function with example usage: divide_to_multiply_block(block) without return types