def gauss_vect_mult(v): Jv = T.Rop(output, params, v) HJv = T.Rop(T.grad(opt_cost,output), output, Jv) JHJv = T.Lop(output, params, HJv) if not isinstance(JHJv,list): JHJv = [JHJv] JHJv = [a+ridge*b for a,b in zip(JHJv,v)] return JHJv
Could you tell me What the theory Support for this code is?
def gauss_vect_mult(v): Jv = T.Rop(output, params, v) HJv = T.Rop(T.grad(opt_cost,output), output, Jv) JHJv = T.Lop(output, params, HJv) if not isinstance(JHJv,list): JHJv = [JHJv] JHJv = [a+ridge*b for a,b in zip(JHJv,v)] return JHJv
Could you tell me What the theory Support for this code is?Thanks@doomie