+
Skip to content

Conversation

coreylowman
Copy link
Owner

@coreylowman coreylowman commented Jul 20, 2022

Closes #67

@coreylowman coreylowman changed the title #67 Adding GradientNotFoundError and building param locations #67 Optimizer::update now returns Result<(), UnusedParamsError> Jul 20, 2022
@coreylowman
Copy link
Owner Author

coreylowman commented Jul 20, 2022

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

@coreylowman
Copy link
Owner Author

TODO does this affect performance at all?

@coreylowman coreylowman merged commit bc8f7bd into main Aug 18, 2022
@coreylowman coreylowman deleted the 67-unused-param-msg branch August 18, 2022 11:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

If param is not used in loss calculation, Optimizer::update() causes runtime panic

2 participants

点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载