You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In some ways, type equality is too strict: two different types can have the same data layout. For instance, a vector and a view of a matrix column are arranged identically in memory.
I am rather new to Julia and I might be mistaken, however I am pretty sure that using views in combination of Enzyme are best practice for differentiating explicit forward solvers. Therefore It does not some ideal that we are not allowed to use Views here.
The text was updated successfully, but these errors were encountered:
But in most cases, the only the primal is a view, while the shadow is not, as we not need to keep track of the entire history of shadow variables. This is even the case in the Box Model example from the Enzyme.jl documentation (no views but copies are used): https://enzyme.mit.edu/julia/stable/generated/box/
As mentioned in the FAQ:
In some ways, type equality is too strict: two different types can have the same data layout. For instance, a vector and a view of a matrix column are arranged identically in memory.
I am rather new to Julia and I might be mistaken, however I am pretty sure that using views in combination of Enzyme are best practice for differentiating explicit forward solvers. Therefore It does not some ideal that we are not allowed to use Views here.
The text was updated successfully, but these errors were encountered: