-
Notifications
You must be signed in to change notification settings - Fork 84
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
I really like both `Optimizer` and `Scheduler` classes! I think the `hook` method can be made an abstract method for the base classes. In this way all the classes that inherit from those need to have this function (which is fundamental to attach the network parameters to optimize).
The only thing that I am concerned about is the back compatibility with Lightning, as by default Lightning will use built-in functions inherited from Torch Optimizers and Schedulers. Maybe in the base classes Optimizer and Scheduler we should inherit from torch base classes of optimizer and scheduler as well?
Originally posted by @dario-coscia in #312 (comment)
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested