xnn.dnn.fast.acsf_direct.forward_direct#

xnn.dnn.fast.acsf_direct.forward_direct(model, data)[source]#

A 2G HDNNP on a CPU with its forces and "virial" (dE / d(strain)) from the written-out gradient: the symmetry functions on the compiled blocks without autograd, the networks’ gradient dE / dG by autograd, and edge_gradient() compiled. Evaluation only.

Return type:

Dict[str, Tensor]