xnn.common.data.dataset#
Datasets and graph batching.
AtomicDataset turns a list of plain structure dicts into AtomicGraph
single-structure objects (computing the neighbor list once, cached). collate
concatenates several AtomicGraph`s into one batched `AtomicGraph – this is
what enables optional batch training: set batch_size=1 to disable it.
Functions
|
Concatenate single-structure graphs into one batched graph. |
|
Build a single-structure |
Classes
|
PyTorch |