xnn.gnn.models.gemnet.quadruplet_indices#

xnn.gnn.models.gemnet.quadruplet_indices(src, dst, vec, emb_ids, edge_index, edge_vec, r_all, rev_all, num_nodes, int_cutoff)[source]#

The quadruplets c -> a - b <- d (paper section 5): the interaction edges, the intermediate triplets a - b <- d (their interaction edge and edge d -> b) and, per quadruplet (grouped by c -> a), the interaction edge, the edge c -> a, the intermediate triplet and the slot.

Parameters:
Return type:

Dict[str, Tensor]