xnn.ffnn.models.classical_fast.fast_bonded#

xnn.ffnn.models.classical_fast.fast_bonded(data, idx, kind, params, shifts, options=None, extra=(0.0, 0.0), twice=False, tiny=1e-12)[source]#

The per-atom energies (N,) of one class of bonded terms from the kernels of classical_kernels (kind, params and extra as there), in the model’s dtype; twice the kernels differentiable twice (classical_train); tiny the regularizer of the lengths (0 for none).

Parameters:
Return type:

Tensor