xnn.common.models.ops#
Tensor operations shared across model families (cnn / dnn / gnn).
Kept here, at the models level, because they are common to more than one
architecture type. Per-family helpers live under the family package instead
(e.g. models/gnn/base.py), and graph-level reductions that every model needs
live on InteratomicPotential (aggregate_energy).
Functions
|
Enumerate neighbour pairs |
|
Sum rows of |
Shifted softplus |