In GATv2, factor out argument handling from the GAT computation proper.
In GATv2, factor out argument handling from the GAT computation proper.

PiperOrigin-RevId: 416831267

tensorflow/gnn,tensorflow/gnn