forked from Lightning-AI/torchmetrics
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Feat: make
__getattr__
and __setattr__
of ClasswiseWrapper more g…
…eneral (Lightning-AI#2424) * fix: MetricCollection did not copy inner state of metric in ClasswiseWrapper when computing groups metrics Issue Link: Lightning-AI#2389 * fix: set _persistent and _reductions be same as internal metric * test: check metric state_dict wrapped in `ClasswiseWrapper` * refactor: make __getattr__ and __setattr__ of ClasswiseWrapper more general * chlog --------- Co-authored-by: Jirka Borovec <[email protected]> Co-authored-by: Jirka <[email protected]>
- Loading branch information
1 parent
1951a06
commit 9d76f3f
Showing
2 changed files
with
12 additions
and
12 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters