Skip to content

Refactoring: make Trainer more flexible #1204

@MischaPanch

Description

@MischaPanch

The Trainer currently uses a bunch of functions injected into it and also tracks a bunch of specific variables which is more restrictive than necessary. See e.g. discussion in #1202 (comment)

The situation can likely be improved by switching to something more similar to the Strategy pattern, but this would constitute a rather large breaking change. Might be addressed by release 2.0 or before that

Metadata

Metadata

Assignees

No one assigned

    Labels

    refactoringNo change to functionality

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions