xnn.ffnn.models.reaxff_fast.kernel_terms#

xnn.ffnn.models.reaxff_fast.kernel_terms(kernel, index, inputs, n_atoms, k, extra, dtype, consts=None, twice=False, act=None, keep=())[source]#

The per-atom energies (N, k) in dtype of KernelTerms for kernel of reaxff_kernels; extra its integer arguments after the term count, consts its compile-time switches; twice differentiable twice (reaxff_train); act the integer flags of the terms that take part (all without); keep the arguments passed in their own precision (positions).

Parameters:
Return type:

Tensor