parameters: (qr, collection=ops.GraphKeys.QUEUE_RUNNERS)
docstring: Adds a `QueueRunner` to a collection in the graph.
  
    When building a complex model that uses many queues it is often difficult to
    gather all the queue runners that need to be run.  This convenience function
    allows you to add a queue runner to a well known collection in the graph.
  
    The companion method `start_queue_runners()` can be used to start threads for
    all the collected queue runners.
  
    Args:
      qr: A `QueueRunner`.
      collection: A `GraphKey` specifying the graph collection to add
        the queue runner to.  Defaults to `GraphKeys.QUEUE_RUNNERS`.
docstring_summary: Adds a `QueueRunner` to a collection in the graph.
docstring_tokens: Adds a QueueRunner to a collection in the graph .
function: def add_queue_runner(qr, collection=ops.GraphKeys.QUEUE_RUNNERS):
    """Adds a `QueueRunner` to a collection in the graph.
  
    When building a complex model that uses many queues it is often difficult to
    gather all the queue runners that need to be run.  This convenience function
    allows you to add a queue runner to a well known collection in the graph.
  
    The companion method `start_queue_runners()` can be used to start threads for
    all the collected queue runners.
  
    Args:
      qr: A `QueueRunner`.
      collection: A `GraphKey` specifying the graph collection to add
        the queue runner to.  Defaults to `GraphKeys.QUEUE_RUNNERS`.
    """
    ops.add_to_collection(collection, qr)
function_tokens: def add_queue_runner ( qr , collection = ops . GraphKeys . QUEUE_RUNNERS ) : ops . add_to_collection ( collection , qr )