Conversation
| ]) | ||
| ``` | ||
|
|
||
| ## What is Function Differentiation? |
There was a problem hiding this comment.
nitpick: let's make sure we are consistent with titles and if we use "What is function differentiation?" or "What is Function Differentiation?". FWIW, in the Elixir repo itself, we use the former, but we can follow another convention here.
|
|
||
| ## What is Function Differentiation? | ||
|
|
||
| Nx, through the `Nx.Defn.grad/2` and `Nx.Defn.value_and_grad/3` functions allows the user to differentiate functions that were defined through `defn`. |
There was a problem hiding this comment.
For what is worth, we don't explain in this section what is function differentiation. We do talk about differentiation, gradient and derivative, but we don't explain any of the terms. It may be valuable to give a step back and provide a high-level overview. And then either reduce the amount of terms or explicitly explain them.
There was a problem hiding this comment.
I added 2 paragraphs explaining derivatives and gradients
josevalim
left a comment
There was a problem hiding this comment.
Just some nits and ship it :)
Adds a guide on automatic differentiation