grad_2nd

hybrid_learning.concepts.train_eval.hessian.grad_2nd(dtheta, params)[source]

Calculate the contiguous gradients of params wrt dtheta as 2D matrix.

Parameters
Return type

Tensor