xnn.gnn.featurizers.cutoff.PolynomialCutoff#
- class xnn.gnn.featurizers.cutoff.PolynomialCutoff(cutoff, p=6)[source]#
Bases:
ModuleSmooth p-degree polynomial envelope (used by NequIP/MACE), C^2 at rc.
Multiplicative envelope that decays smoothly from 1 at
r = 0to exactly 0 at the cutoffrc, with continuous value and derivatives (C^2) atrc. Applied to radial embeddings so that edge features vanish smoothly as neighbours leave the cutoff sphere.- Parameters: