-
```julia
julia> using ComponentArrays, Zygote
julia> p = (; a = ones(2), b = zeros(2)) |> ComponentArray
ComponentVector{Float64}(a = [1.0, 1.0], b = [0.0, 0.0])
julia> Zygote.gradient(x -> su…
-
Hi,
I tried adapting the TDSCF example [https://github.com/fishjojo/pyscfad/blob/main/examples/tdscf/00-cis_nuc_grad.py](https://github.com/fishjojo/pyscfad/blob/main/examples/tdscf/00-cis_nuc_grad…
-
`hessian` gives me a tuple of tuples of tensors of varying dimensions, but I just want a matrix. I bet this is or will be an extremely common use case, so it would be great if, say, the docs showed a …
-
Failure occurs when using the "LennardJones Coulomb" combined force due to the ordering of parsing.
-
I notice that components only include values, bounds, and jacobians. Is there any reason Hessians are not stored in them as well, other than you just didn't need it?
We are considering using this l…
-
# Nacos Hessian 反序列化 RCE - Y4er的博客
[https://y4er.com/posts/nacos-hessian-rce/](https://y4er.com/posts/nacos-hessian-rce/)
-
Hi,
I'm trying to calculate a masked squared loss as part of my loss function. The loss function and its gradient can be computed without problems, but the Hessian fails:
```julia
using Zygote
…
-
现在在做国产中间件的适配,发现hessian存在两个版本,groupid不同,但是pakcage相同,在这个中间件下会报错,想问一下应该使用
```
com.caucho
hessian
```
还是
```
com.alipay.sofa
…
-
Reverse on forward on reverse:
```julia
julia> function f1(x, ps) # [edit: renamed not to clash]
hess = Zygote.hessian(x->sum(x.^3), x)
return hess * x .+ ps.bias
end
f1 (g…
-
Can we compute the Hessian? Can we compute a Hessian Vector Product?
What's the interface to do this?
Request from @rgiordan.