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 (#2424) * fix: MetricCollection did not copy inner state of metric in ClasswiseWrapper when computing groups metrics Issue Link: #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 <6035284+Borda@users.noreply.github.com> Co-authored-by: Jirka <jirka.borovec@seznam.cz>
- Loading branch information