# How can I use Zygote to get the gradient

**URL:** <https://discourse.julialang.org/t/how-can-i-use-zygote-to-get-the-gradient/47237>\
**Category:** New to Julia\
**Created:** [September 25, 2020, 2:00am UTC](https://discourse.julialang.org/t/how-can-i-use-zygote-to-get-the-gradient/47237 "2020-09-25T02:00:29Z")\
**Posts on this page:** 1\
**Showing post:** 3

<div class="post-metadata">

**Author:** ![xiaodai](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/xiaodai/32/15937_2.png) [@xiaodai](https://discourse.julialang.org/u/xiaodai)\
**Post date:** [September 25, 2020, 2:45am UTC](https://discourse.julialang.org/t/how-can-i-use-zygote-to-get-the-gradient/47237/3 "2020-09-25T02:45:36Z")

</div>

> [@Yoobi](#):
>
> get the value of alpha how can i do tha

I suppose the only way to make sense of it is you want the df/d\alpha at a particular value of alpha.

@Yoobi In general if you make a MWE, it will make it easier to help you [Please read: make it easier to help you](https://discourse.julialang.org/t/psa-make-it-easier-to-help-you/14757)

---

_[View the full topic](https://discourse.julialang.org/t/how-can-i-use-zygote-to-get-the-gradient/47237)._
