dfdx
dfdx copied to clipboard
#67 `Optimizer::update` now returns `Result<(), UnusedParamsError>`
Closes #67
This is now a breaking change and CanUpdateWithGradients is now quite a bit harder to read. BUT now users can decide if unused parameters are an issue, and if so get a list of all of them. Otherwise all used parameters are updated
TODO does this affect performance at all?