-
```julia
using Zygote: Zygote
struct VNV{TVal}
vals::TVal
bv::BitVector
end
f(x) = VNV(x, BitVector(undef, 1)).vals
Zygote.pullback(f, [1.0])
```
The above fails with
```
ERRO…
-
It would be good to make the adjoint code dimension-agnostic, i.e. it should work for any Lx × Ly × Lz material grid and do filtering along all of the axes, specializing to 2d or 1d filters when one o…
-
The LDOS is a good way to design around the Q of a resonator. As discussed in the [meep tutorial](https://meep.readthedocs.io/en/latest/Python_Tutorials/Local_Density_of_States/), however, the LDOS ca…
-
Currently we override `transpose` and `adjoint` to make copies here: https://github.com/JuliaLinearAlgebra/SkewLinearAlgebra.jl/blob/main/src/skewhermitian.jl#L115-L116
Instead, the right thing to …
-
Hello,
I tried using the adjoint-family integrators to obtain sensitivities of an arbitrary cost functional
![](https://latex.codecogs.com/gif.latex?%5Cbegin%7Balign*%7D%20%5CPsi%28%5Cvec%7Bp%7D%29%…
-
Hi
I wanted to inform you that a similar implementation of NHC and Verlet adjoint equations can be found at this GitHub repository: https://github.com/torchmd/mdgrad/blob/cea2332e0ae2c90e2d8caa656c…
-
The following line works in Julia:
```
@SVector([0.0, 0.0, 0.00]) / @SMatrix([1.0])
3-element MVector{3, Float64} with indices SOneTo(3):
0.0
0.0
0.0
```
but throws an illegal type anal…
-
**Describe the bug 🐞**
UDE Training does not work with `AutoZygote`
**Expected behavior**
It should work.
**Minimal Reproducible Example 👇**
The lotka volterra test in `tests/lotka_volt…
-
I'm solving a problem with a known adjoint solution. I was wondering if it would be possible/desirable to provide an interface to supply adjoint solutions, rather request the physics model to solve fo…
-
The following is broken as a consequence
```julia
julia> a = [[1,2,3]]'
1×1 adjoint(::Vector{Vector{Int64}}) with eltype LinearAlgebra.Adjoint{Int64, Vector{Int64}}:
[1 2 3]
julia> map(size, a…