xnn.krnn.common.sgdml_fit.kernel_rows#

xnn.krnn.common.sgdml_fit.kernel_rows(model, x, u, idx, energy_constraint=False)[source]#

The rows of the kernel matrix (kernel_matrix()) of the training geometries idx.

Returns the 3N force rows of every geometry in idx, in that order, followed (with energy_constraint) by their energy rows.

Parameters:
Return type:

Tensor