parameters: (self, ops)
docstring: Add a list of new control inputs to this operation.
  
      Args:
        ops: the list of Operations to add as control input.
  
      Raises:
        TypeError: if ops is not a list of Operations.
        ValueError: if any op in ops is from a different graph.
docstring_summary: Add a list of new control inputs to this operation.
docstring_tokens: Add a list of new control inputs to this operation .
function: def _add_control_inputs(self, ops):
      """Add a list of new control inputs to this operation.
  
      Args:
        ops: the list of Operations to add as control input.
  
      Raises:
        TypeError: if ops is not a list of Operations.
        ValueError: if any op in ops is from a different graph.
      """
      if self._c_op:
        for op in ops:
          if not isinstance(op, Operation):
            raise TypeError("op must be an Operation: %s" % op)
          c_api.AddControlInput(self._graph._c_graph, self._c_op, op._c_op)  # pylint: disable=protected-access
      else:
        if ops:
          for op in ops:
            if not isinstance(op, Operation):
              raise TypeError("op must be an Operation: %s" % op)
            _assert_same_graph(self, op)
            self._control_inputs.append(op)
          self._recompute_node_def()
function_tokens: def _add_control_inputs ( self , ops ) : if self . _c_op : for op in ops : if not isinstance ( op , Operation ) : raise TypeError ( "op must be an Operation: %s" % op ) c_api . AddControlInput ( self . _graph . _c_graph , self . _c_op , op . _c_op ) # pylint: disable=protected-access else : if ops : for op in ops : if not isinstance ( op , Operation ) : raise TypeError ( "op must be an Operation: %s" % op ) _assert_same_graph ( self , op ) self . _control_inputs . append ( op ) self . _recompute_node_def ( )