# Factor of two in Zygote complex gradient

**URL:** <https://discourse.julialang.org/t/factor-of-two-in-zygote-complex-gradient/77545>\
**Category:** Optimization (Mathematical)\
**Tags:** zygote\
**Created:** [March 7, 2022, 11:51pm UTC](https://discourse.julialang.org/t/factor-of-two-in-zygote-complex-gradient/77545 "2022-03-07T23:51:17Z")\
**Posts on this page:** 1\
**Showing post:** 5

<div class="post-metadata">

**Author:** ![stevengj](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/stevengj/32/71_2.png) [@stevengj](https://discourse.julialang.org/u/stevengj)\
**Post date:** [March 8, 2022, 3:28am UTC](https://discourse.julialang.org/t/factor-of-two-in-zygote-complex-gradient/77545/5 "2022-03-08T03:28:42Z")

</div>

See also [Taking Complex Autodiff Seriously in ChainRules - #62 by Mason](https://discourse.julialang.org/t/taking-complex-autodiff-seriously-in-chainrules/39317/62) and [Complex numbers · ChainRules](https://juliadiff.org/ChainRulesCore.jl/stable/maths/complex.html) (since Zygote is built on top of ChainRules).

---

_[View the full topic](https://discourse.julialang.org/t/factor-of-two-in-zygote-complex-gradient/77545)._
