Fixed optim update error with non-contiguous grads/params (#1187)
* Fixed optim update error with non-contiguous grads
* fix formatting
Thanks @Edenzzzz for this contribution!
---------
Co-authored-by:
Titus von Koeller <9048635+Titus-von-Koeller@users.noreply.github.com>
Showing
Please register or sign in to comment