There is an unsaved comment in progress. You will lose your changes if you continue. Are you sure you want to reopen the work item?
Add API that updates an array of the gradient.
We have API that returns an array with the gradient. We need to add an API that updates an array, in case we want to avoid repeated allocation of arrays and for better integration with external libraries that work that way.