xnn.krnn.fast.sgdml_kernels.hessian_vector#

xnn.krnn.fast.sgdml_kernels.hessian_vector(x, v, xp, wp, ec, kernel)[source]#

(B, D) products of the Hessians of the kernel expansion with the directions v.

sum_j t (D.v) w + [u (D.v) s + t (w.v) - a t (D.v)] D + (t s - g a) v with u = t'/r (zero at r = 0, where its term vanishes).

Parameters:
Return type:

Tensor