facebookresearch / optimizers

For optimization algorithm research and development.
Other
442 stars 31 forks source link

Extend `AbstractDataclass` for multiple inheritance #51

Open runame opened 11 hours ago

runame commented 11 hours ago

To make sure base classes can't be instantiated I extended AbstractDataclass to allow for using it via multiple inheritance. I applied this to RootInvConfig and EigenvalueCorrectionConfig.

facebook-github-bot commented 9 hours ago

@tsunghsienlee has imported this pull request. If you are a Meta employee, you can view this diff on Phabricator.