# Manually updating the parameters of a Neural Network in Flux

**URL:** https://discourse.julialang.org/t/manually-updating-the-parameters-of-a-neural-network-in-flux/25327
**Category:** Machine Learning
**Tags:** flux
**Created:** [June 15, 2019, 3:46pm UTC](https://discourse.julialang.org/t/manually-updating-the-parameters-of-a-neural-network-in-flux/25327 "2019-06-15T15:46:34Z")
**Posts on this page:** 1
**Showing post:** 2

<div class="post-metadata">

### Author: ![baggepinnen](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/baggepinnen/32/693_2.png) [@baggepinnen](https://discourse.julialang.org/u/baggepinnen)
#### Post date: [June 17, 2019, 6:32am UTC](https://discourse.julialang.org/t/manually-updating-the-parameters-of-a-neural-network-in-flux/25327/2 "2019-06-17T06:32:59Z")

</div>

I am also interested in this, and I believe many others would be as well. I list some packages that target this particular problem below for reference

- [https://github.com/ahwillia/CatViews.jl](https://github.com/ahwillia/CatViews.jl)
- [GitHub - rafaqz/Flatten.jl: Flatten nested Julia objects to tuples, and reconstruct them later](https://github.com/rafaqz/Flatten.jl) ([Discourse ann.](https://discourse.julialang.org/t/ann-metafields-jl-and-flatten-jl-packages-for-writing-composable-models/12849))
- [https://github.com/rafaqz/Nested.jl](https://github.com/rafaqz/Nested.jl)
- [https://github.com/simonbyrne/PackVec.jl](https://github.com/simonbyrne/PackVec.jl)

I might attempt at some implementation of packing/unpacking the `Zygote.Grads` type, which perhaps would be well received in the Flux repository.

If you made any strides forward on this problem I would be interested in learning from your experience. I will post here once I have a working solution.

---

_[View the full topic](https://discourse.julialang.org/t/manually-updating-the-parameters-of-a-neural-network-in-flux/25327)._
