xnn.common.train.graphed.padding_structure#

xnn.common.train.graphed.padding_structure(n_atoms, n_edges, like)[source]#

The inert structure that fills a batch: n_atoms >= 2 atoms on a line, n_edges edges between neighbors on the line (each with its reverse: n_edges is even), spread over the pairs in turn so that no atom collects many of them (sums onto one atom would serialize), no labels.

Parameters:
Return type:

AtomicGraph