lightning/pytorch_lightning/trainer
Adrian Wälchli 02ac4b0b6a
Replace .get_model() with explicit .lightning_module (#6035)
* rename get_model -> lightning_module

* update references to get_model

* pep8

* add proper deprecation

* remove outdated _get_reference_model

* fix cyclic import
2021-02-18 15:59:54 +01:00
..
connectors Replace .get_model() with explicit .lightning_module (#6035) 2021-02-18 15:59:54 +01:00
__init__.py added trainer api docs (#4569) 2020-11-07 14:18:45 -05:00
callback_hook.py Replace .get_model() with explicit .lightning_module (#6035) 2021-02-18 15:59:54 +01:00
configuration_validator.py Add PredictLoop (#5752) 2021-02-16 17:11:56 -05:00
data_loading.py Trainer only references accelerator (#6039) 2021-02-17 21:41:18 +01:00
deprecated_api.py Replace .get_model() with explicit .lightning_module (#6035) 2021-02-18 15:59:54 +01:00
evaluation_loop.py Replace .get_model() with explicit .lightning_module (#6035) 2021-02-18 15:59:54 +01:00
ignored_warnings.py formatting 4/n: Trainer (#5720) 2021-02-03 09:25:42 +00:00
logging.py formatting 4/n: Trainer (#5720) 2021-02-03 09:25:42 +00:00
model_hooks.py Replace .get_model() with explicit .lightning_module (#6035) 2021-02-18 15:59:54 +01:00
optimizers.py [feat] Add Trainer(stochastic_weight_avg=True/False) (#6038) 2021-02-17 23:10:05 +00:00
predict_loop.py Replace .get_model() with explicit .lightning_module (#6035) 2021-02-18 15:59:54 +01:00
properties.py Replace .get_model() with explicit .lightning_module (#6035) 2021-02-18 15:59:54 +01:00
states.py formatting 4/n: Trainer (#5720) 2021-02-03 09:25:42 +00:00
supporters.py formatting 4/n: Trainer (#5720) 2021-02-03 09:25:42 +00:00
trainer.py Replace .get_model() with explicit .lightning_module (#6035) 2021-02-18 15:59:54 +01:00
training_loop.py Replace .get_model() with explicit .lightning_module (#6035) 2021-02-18 15:59:54 +01:00
training_tricks.py Replace .get_model() with explicit .lightning_module (#6035) 2021-02-18 15:59:54 +01:00