def _set_outer_op_for_nested_blocks(blocks, op):
    """
    An ultility function that sets the outer_op of the blocks for control flow ops.
    """
    for block in blocks:
        block.outer_op = op

    An ultility function that sets the outer_op of the blocks for control flow ops.
    
coremltools/converters/mil/frontend/milproto/load.py