xnn.gnn.models.gemnet.GemNetPlanner#
- class xnn.gnn.models.gemnet.GemNetPlanner(emb_cutoff, int_cutoff, quadruplets)[source]#
Bases:
objectThe index plan of a batch (
index_plan()), built outside the model step for a captured training step (xnn.common.train.graphed).A data-loader worker builds it on the CPU and pads it to fixed counts: the padding entries all refer to the first padding edge (an edge between padding atoms) and to the first padding entry of each list, so they form finite, inert geometry. The neighbor-slot widths
kmax3/kmax4of the reference bilinear layers are maxima over single edges, not sums (maxima).- Parameters:
- maxima = ('kmax3', 'kmax4')#
The sizes that a batch takes as a maximum over its structures.
- offsets = {'emb_ids': 'edges', 'int_ids': 'edges', 'intm_db': 'emb_edges', 'intm_q': 'int_edges', 'q_intm': 'intm', 'q_k': None, 'q_out': 'emb_edges', 'quad_q': 'int_edges', 'rev': 'emb_edges', 't_in': 'emb_edges', 't_k': None, 't_out': 'emb_edges'}#
The count each plan entry indexes (for batching the plans of single structures);
None: a slot within its group.