# Stop\_gradient/detach equivalent in flux

**URL:** https://discourse.julialang.org/t/stop-gradient-detach-equivalent-in-flux/31926
**Category:** Machine Learning
**Tags:** question
**Created:** [December 6, 2019, 7:33am UTC](https://discourse.julialang.org/t/stop-gradient-detach-equivalent-in-flux/31926 "2019-12-06T07:33:40Z")
**Posts on this page:** 1
**Showing post:** 3

<div class="post-metadata">

### Author: ![Rassibassi](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/rassibassi/32/9697_2.png) [@Rassibassi](https://discourse.julialang.org/u/Rassibassi)
#### Post date: [December 11, 2019, 8:34pm UTC](https://discourse.julialang.org/t/stop-gradient-detach-equivalent-in-flux/31926/3 "2019-12-11T20:34:14Z")

</div>

Great! Thanks a lot, it made my code work 🙂 example over here: [Autoencoder for telecommunication (Constellation shaping)](https://discourse.julialang.org/t/autoencoder-for-telecommunication-constellation-shaping/30613)

---

_[View the full topic](https://discourse.julialang.org/t/stop-gradient-detach-equivalent-in-flux/31926)._
