Tensorflow performs data input in two ways:
1. feed_dict , placeholder feed
2. Read the data in the file and use the data input stream that comes with tensorflow
tf.train.string_input_producer() creates a queue, for example, tfrecords_file creates a queue
filename_queue = tf.train.string_input_producer(
tfrecords_filename, num_epoches=100)