Thank you for your reply. I will probably need an exact loss when I use the full dataset, but I’m only using a small portion of it, so probably don’t require that right now.
If you could tell me how to get exact values, then that would be great for when I use the full dataset.
I’m just a bit coursed about ‘append it to  loss_values  in each epoch’. Based on the image I posted, the x axis is not the epochs. I believe it is using the optimizer.step values instead.