Thanks for your answer, so the vector passed in will not be mutated, but it will have an effect on the final gradients that come out of the grad function?
Is there a simple use case to illustrate why someone would need this?