Warning: THIS FUNCTION IS DEPRECATED. It will be removed in a future version.
Instructions for updating:
Use tf.data.

Given file pattern (or list of files), will setup a shared queue for file
names, setup a worker queue that gets filenames from the shared queue,
read Example proto using provided reader, use batch queue to create
batches of examples of size batch_size and parse example given features
specification.

All queue runners are added to the queue runners collection, and may be
started via start_queue_runners.

num_epochs: Integer specifying the number of times to read through the
dataset. If None, cycles through the dataset forever. NOTE - If specified,
creates a variable that must be initialized, so call
tf.local_variables_initializer() and run the op in a session.

queue_capacity: Capacity for input queue.

reader_num_threads: The number of threads to read examples.

feature_queue_capacity: Capacity of the parsed features queue.

num_queue_runners: Number of threads to enqueue the parsed example queue.
Using multiple threads to enqueue the parsed example queue helps maintain
a full queue when the subsequent computations overall are cheaper than
parsing.