lightning/tests/core
Kaushik B b190403e28
Add outputs param for `on_val/test_epoch_end` hooks (#6120)
* add outputs param for on_val/test_epoch_end hooks

* update changelog

* fix warning message

* add custom call hook

* cache logged metrics

* add args to docstrings

* use warning cache

* add utility method for param in sig check

* Update CHANGELOG.md

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>

* update docstring

* add test for eval epoch end hook

* add types and replace model ref

* add deprecation test

* fix test fx name

* add model hooks warning

* add old signature model to tests

* add clear warning cache

* sopport args param

* update tests

* add tests for model hooks

* code suggestions

* add signature utils

* fix pep8 issues

* fix pep8 issues

* fix outputs issue

* fix tests

* code fixes

* fix validate test

* test

Co-authored-by: Jirka Borovec <Borda@users.noreply.github.com>
2021-03-16 12:15:16 -04:00
..
__init__.py Refactor model summary + generalize example input array (#1773) 2020-06-15 17:05:58 -04:00
test_datamodules.py Add Trainer.validate(…) method to run one validation epoch (#4948) 2021-03-11 03:46:37 +01:00
test_decorators.py Refactor: skipif for Windows 2/n (#6268) 2021-03-02 09:36:01 +00:00
test_hooks.py Add outputs param for `on_val/test_epoch_end` hooks (#6120) 2021-03-16 12:15:16 -04:00
test_lightning_module.py Call `optimizer.zero_grad()` before backward inside closure in AutoOpt (#6147) 2021-03-01 14:36:46 +01:00
test_lightning_optimizer.py Remove optimizer_idx arg in manual optimization (#6093) 2021-03-07 08:48:50 +01:00
test_memory.py Handle torch.jit scripted modules in layer summary (#6511) 2021-03-15 03:17:42 +01:00
test_metric_result_integration.py prune warning & deprecation wrapper (#6540) 2021-03-16 14:55:31 +00:00
test_results.py Typing for tests 1/n (#6313) 2021-03-09 11:27:15 +00:00