lightning/tests/metrics
Philip E Blair 77f6aa43e5
Fix: Allow hashing of metrics with lists in their state (#5939)
* Fix: Allow hashing of metrics with lists in their state

* Add test case and modify semantics of Metric __hash__ in order to be compatible with structural equality checks

* Fix pep8 style issue

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
2021-02-18 09:54:12 +00:00
..
classification yapf tests metrics (#5845) 2021-02-06 11:41:40 -05:00
functional yapf tests metrics (#5845) 2021-02-06 11:41:40 -05:00
regression Add `dim` to `pytorch_lightning.metrics.PSNR` (#5957) 2021-02-17 11:55:40 +01:00
__init__.py fix/enable - check F401 (#5201) 2020-12-21 10:15:04 +01:00
test_composition.py fixing some compatibility with PT 1.8 (#5864) 2021-02-09 18:25:57 +01:00
test_ddp.py yapf tests metrics (#5845) 2021-02-06 11:41:40 -05:00
test_metric.py Fix: Allow hashing of metrics with lists in their state (#5939) 2021-02-18 09:54:12 +00:00
test_metric_lightning.py Refactor simplify tests (#5861) 2021-02-08 11:52:02 +01:00
utils.py Classification metrics overhaul: accuracy metrics (2/n) (#4838) 2020-12-21 16:42:51 +01:00