The nodes and edges of the reactant and product graphs are separately transformed by the EGAT layers to yield a set of 512x1 node and edge vectors for the reactant and product. The same stack of layers and weights are used for the reactant and product graphs. Reaction node and edge features are obtained based on the differences between these vectors,