Discriminator takes input from real data as well as the generated images from the Generator. Real images are fed to the Discriminator to know the features of the real images or as you mentioned to match with the real data to classify the input images as real or fake.

Please let me know if the explanation was helpful

Loves learning, sharing, and discovering myself. Passionate about Machine Learning and Deep Learning

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store