parameters: (forward_seed_ops,
                          backward_seed_ops,
                          forward_inclusive=True,
                          backward_inclusive=True,
                          within_ops=None,
                          control_inputs=False,
                          control_outputs=None,
                          control_ios=None)
return_statement: return util.concatenate_unique(forward_ops, backward_ops)
docstring: Return the union of a foward and a backward walk.
  
    Args:
      forward_seed_ops: an iterable of operations from which the forward graph
        walk starts. If a list of tensors is given instead, the seed_ops are set
        to be the consumers of those tensors.
      backward_seed_ops: an iterable of operations from which the backward graph
        walk starts. If a list of tensors is given instead, the seed_ops are set
        to be the generators of those tensors.
      forward_inclusive: if True the given forward_seed_ops are also part of the
        resulting set.
      backward_inclusive: if True the given backward_seed_ops are also part of the
        resulting set.
      within_ops: restrict the search within those operations. If within_ops is
        None, the search is done within the whole graph.
      control_inputs: A boolean indicating whether control inputs are enabled.
      control_outputs: An instance of util.ControlOutputs or None. If not None,
        control outputs are enabled.
      control_ios:  An instance of util.ControlOutputs or None. If not None, both
        control inputs and control outputs are enabled. This is equivalent to set
        control_inputs to True and control_outputs to the util.ControlOutputs
        instance.
    Returns:
      A Python set of all the tf.Operation in the union of a foward and a
        backward walk.
    Raises:
      TypeError: if forward_seed_ops or backward_seed_ops or within_ops cannot be
        converted to a list of tf.Operation.
docstring_summary: Return the union of a foward and a backward walk.
docstring_tokens: Return the union of a foward and a backward walk .
function: def get_walks_union_ops(forward_seed_ops,
                          backward_seed_ops,
                          forward_inclusive=True,
                          backward_inclusive=True,
                          within_ops=None,
                          control_inputs=False,
                          control_outputs=None,
                          control_ios=None):
    """Return the union of a foward and a backward walk.
  
    Args:
      forward_seed_ops: an iterable of operations from which the forward graph
        walk starts. If a list of tensors is given instead, the seed_ops are set
        to be the consumers of those tensors.
      backward_seed_ops: an iterable of operations from which the backward graph
        walk starts. If a list of tensors is given instead, the seed_ops are set
        to be the generators of those tensors.
      forward_inclusive: if True the given forward_seed_ops are also part of the
        resulting set.
      backward_inclusive: if True the given backward_seed_ops are also part of the
        resulting set.
      within_ops: restrict the search within those operations. If within_ops is
        None, the search is done within the whole graph.
      control_inputs: A boolean indicating whether control inputs are enabled.
      control_outputs: An instance of util.ControlOutputs or None. If not None,
        control outputs are enabled.
      control_ios:  An instance of util.ControlOutputs or None. If not None, both
        control inputs and control outputs are enabled. This is equivalent to set
        control_inputs to True and control_outputs to the util.ControlOutputs
        instance.
    Returns:
      A Python set of all the tf.Operation in the union of a foward and a
        backward walk.
    Raises:
      TypeError: if forward_seed_ops or backward_seed_ops or within_ops cannot be
        converted to a list of tf.Operation.
    """
    control_inputs, control_outputs = check_cios(control_inputs, control_outputs,
                                                 control_ios)
    forward_ops = get_forward_walk_ops(forward_seed_ops,
                                       inclusive=forward_inclusive,
                                       within_ops=within_ops,
                                       control_outputs=control_outputs)
    backward_ops = get_backward_walk_ops(backward_seed_ops,
                                         inclusive=backward_inclusive,
                                         within_ops=within_ops,
                                         control_inputs=control_inputs)
    return util.concatenate_unique(forward_ops, backward_ops)
function_tokens: def get_walks_union_ops ( forward_seed_ops , backward_seed_ops , forward_inclusive = True , backward_inclusive = True , within_ops = None , control_inputs = False , control_outputs = None , control_ios = None ) : control_inputs , control_outputs = check_cios ( control_inputs , control_outputs , control_ios ) forward_ops = get_forward_walk_ops ( forward_seed_ops , inclusive = forward_inclusive , within_ops = within_ops , control_outputs = control_outputs ) backward_ops = get_backward_walk_ops ( backward_seed_ops , inclusive = backward_inclusive , within_ops = within_ops , control_inputs = control_inputs ) return util . concatenate_unique ( forward_ops , backward_ops )