gelcd.py 文件源码

python
阅读 39 收藏 0 点赞 0 评论 0

项目:torch-gel 作者: jayanthkoushik 项目源码 文件源码
def _hess_j(C_j, I_j, b_j, b_j_norm, a_1_j, a_2_j):
    """Compute the Hessian with respect to one of the coefficients."""
    D_j = torch.ger(b_j, b_j)
    return C_j + (a_1_j/b_j_norm)*(I_j - D_j/(b_j_norm**2)) + a_2_j*I_j
评论列表
文章目录


问题


面经


文章

微信
公众号

扫码关注公众号