Sai Krishna Kishore Nori
Sai Krishna Kishore Nori
Thank you initiating and implementing this idea, I think this is a great idea and would be very useful, I was trying this out because I am interested in-place copy...
Nice, that's good to know, the in-place version seems to be pretty stable with the timings, and how do I make `@btime` output both `min` and `mean` like you have?...
> Mean is from https://github.com/JuliaCI/BenchmarkTools.jl/pull/258 Interesting! That would be very useful! I ll see if I can take some pirate code out of it to start using locally :) I...
That's great! Yes, you are right it returns `(nothing,)`, `_` breaks the connection in the chain of `rrule`s.
Would there be an alternative way to perform `copy!` between a flat vector and a `Params` like object, or even probably directly into `nn` (a `Flux.Chain`), something like `copy!(x, nn)`...
Hi Michael, thanks a lot for the detailed reply (and sorry for the delay in my reply), I wasn't aware of `Flux.State`. My use case has been to use `Flux.jl`...
Sure will come up with a MWE and open an issue, thank you. By the way, I have realized that that idea of `destructure!` (https://github.com/FluxML/Optimisers.jl/pull/165) would be really beneficial and...