I figured it out.
training_data is a list of Data objects, where a Data object is formed by one example from the training set (repeating this process for all the training set).
The DataLoader helps you to loop over chunks of Data objects  (the chunk size is batch_size)