Skip to content

Conversation

@FrancoisPgm
Copy link

Initialize the CallbackContext object relative to the fit function in a decorator around fit, so that it can be deleted at the end of fit, and thus only lives during the fit.

@github-actions
Copy link

github-actions bot commented Oct 7, 2025

✔️ Linting Passed

All linting checks passed. Your pull request is in excellent shape! ☀️

Generated for commit: 61c335e. Link to the linter CI: here

----------
task_name : str, default='fit'
The name of the root task.
def _fit_callback(fit_method):
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It should be public.

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.

2 participants