Skip to content

Best way to add custom callbacks? #1954

Answered by NanoCode012
clasqui asked this question in Q&A
Discussion options

You must be logged in to vote

Hey! This is actually one of the things that PR #1917 brings . It adds an example of adding a callback for the optimizer step level, but if you check the base class, there’s quite a few callback methods to override.

If you take a look, it requires adding a file to the plugins directory then listing it in the yaml.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@clasqui
Comment options

@clasqui
Comment options

@NanoCode012
Comment options

Answer selected by clasqui
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants