# Zygote gradient Error

**URL:** <https://discourse.julialang.org/t/zygote-gradient-error/38206>\
**Category:** General Usage\
**Tags:** question, flux, zygote\
**Created:** [April 25, 2020, 8:57pm UTC](https://discourse.julialang.org/t/zygote-gradient-error/38206 "2020-04-25T20:57:43Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![simeonschaub](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/simeonschaub/32/216566_2.png) [@simeonschaub](https://discourse.julialang.org/u/simeonschaub)\
**Post date:** [April 25, 2020, 9:09pm UTC](https://discourse.julialang.org/t/zygote-gradient-error/38206/2 "2020-04-25T21:09:30Z")

</div>

For your case, if you use `transpose` instead of `Transpose`, it should work. `Transpose` shouldn’t usually be called directly anyways. It would probably still make sense to have an adjoint for `Transpose` and `Adjoint` in Zygote, I will see if I can make a small PR.

FYI, it’s usually a lot easier to help you track down issues, if you provide a standalone minimal working example. See also [here](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757).

---

_[View the full topic](https://discourse.julialang.org/t/zygote-gradient-error/38206)._
