class_docstr: Perform body repeatly while the condition cond is true.
  
  Parameters
  ----------
  _cond: Python function  (Required)
      * A Python function that takes ``loop_vars`` as positional arguments. The function must return a bool Var.
  
  _body: Python function  (Required)
      * A Python function that takes ``loop_vars`` as positional arguments. The function must return the same number of output vars as ``loop_var`` with the same types.
  
  loop_vars: Python tuple (Required)
      * Python tuple of ``Variables``.
  
  Returns
  -------
  Python tuple
      * Same type as ``loop_vars``
class_docstr_tok: ["Perform","body","repeatly","while","the","condition","cond","is","true",".","Parameters","--","--","--","--","--","_cond",":","Python","function","(","Required",")","*","A","Python","function","that","takes","``","loop_vars","``","as","positional","arguments",".","The","function","must","return","a","bool","Var",".","_body",":","Python","function","(","Required",")","*","A","Python","function","that","takes","``","loop_vars","``","as","positional","arguments",".","The","function","must","return","the","same","number","of","output","vars","as","``","loop_var","``","with","the","same","types",".","loop_vars",":","Python","tuple","(","Required",")","*","Python","tuple","of","``","Variables","``",".","Returns","--","--","--","-","Python","tuple","*","Same","type","as","``","loop_vars","``"]
code: def clean_up_child_ops(block):
      for op in list(block.operations):
          for b in op.blocks:
              while_loop.clean_up_child_ops(b)
  
          inputs = op.get_flattened_inputs()
          for in_var in inputs:
              in_var.remove_child_op(op)
  
imports: import six
  from coremltools.converters.mil.mil import types
  from coremltools.converters.mil.mil.types.type_mapping import numpy_val_to_builtin_val, is_subtype
  import copy
  from coremltools.converters.mil.mil import Block, SYMBOL, NONE
  from coremltools.converters.mil.mil.var import Var
  from coremltools.converters.mil.mil import get_new_symbol
  from ._op_reqs import *
  import logging
label_desc: Use image node_id 4 for calling the while_loop obj's underlying member method code with example usage: obj.clean_up_child_ops(block) without return types