Graph neural networks (GNNs) can be pictured as a special class of neural network models where data are structured as graphs β both training data used to train the model and real-world data used for inference β rather than fixed-size vectors or grids like image, sequences, or instances of tabular data.
source https://machinelearningmastery.com/a-gentle-introduction-to-graph-neural-networks-in-python/