parameters: (data_sources,
                       reader_class,
                       reader_kwargs=None)
docstring: Reads sequentially the data_sources using the reader, doing a single pass.
  
    Args:
      data_sources: a list/tuple of files or the location of the data, i.e.
        /cns/../train@128, /cns/.../train* or /tmp/.../train*
      reader_class: one of the io_ops.ReaderBase subclasses ex: TFRecordReader.
      reader_kwargs: an optional dict, of kwargs for the reader.
  
    Returns:
      key, value: a tuple of keys and values from the data_source.
docstring_summary: Reads sequentially the data_sources using the reader, doing a single pass.
docstring_tokens: Reads sequentially the data_sources using the reader doing a single pass .
function: def single_pass_read(data_sources,
                       reader_class,
                       reader_kwargs=None):
    """Reads sequentially the data_sources using the reader, doing a single pass.
  
    Args:
      data_sources: a list/tuple of files or the location of the data, i.e.
        /cns/../train@128, /cns/.../train* or /tmp/.../train*
      reader_class: one of the io_ops.ReaderBase subclasses ex: TFRecordReader.
      reader_kwargs: an optional dict, of kwargs for the reader.
  
    Returns:
      key, value: a tuple of keys and values from the data_source.
    """
    data_files = get_data_files(data_sources)
    with ops.name_scope('single_pass_read'):
      filename_queue = tf_input.string_input_producer(data_files,
                                                      num_epochs=1,
                                                      shuffle=False,
                                                      capacity=1)
      reader_kwargs = reader_kwargs or {}
      return reader_class(**reader_kwargs).read(filename_queue)
function_tokens: def single_pass_read ( data_sources , reader_class , reader_kwargs = None ) : data_files = get_data_files ( data_sources ) with ops . name_scope ( 'single_pass_read' ) : filename_queue = tf_input . string_input_producer ( data_files , num_epochs = 1 , shuffle = False , capacity = 1 ) reader_kwargs = reader_kwargs or { } return reader_class ( * * reader_kwargs ) . read ( filename_queue )