Over time, we added new extension points to the BaseStrategy that allow easy customization. This is what the new API looks like (most of it is already available):
Apart from what has already been done, I want to change methods that create objects (dataloaders, models, forward, ...) to have an explicit return value. Old API:
I think explicit return types are slightly better as they make it obvious that these methods should create something.
This is backward incompatible but it shouldn't be hard to change old strategies.
Over time, we added new extension points to the BaseStrategy that allow easy customization. This is what the new API looks like (most of it is already available):
Apart from what has already been done, I want to change methods that create objects (dataloaders, models, forward, ...) to have an explicit return value. Old API:
New API:
I think explicit return types are slightly better as they make it obvious that these methods should create something. This is backward incompatible but it shouldn't be hard to change old strategies.