mirror of
https://github.com/wassname/pytorch-lightning.git
synced 2026-09-12 12:40:20 +08:00
Refactor: name modules (#548)
* refactor: rename some modules * add deprecation warnings * fix paths
This commit is contained in:
committed by
William Falcon
parent
fea7cc87f6
commit
9785a3e78e
@@ -25,8 +25,8 @@ if __LIGHTNING_SETUP__:
|
||||
# process, as it may not be compiled yet
|
||||
else:
|
||||
from .trainer.trainer import Trainer
|
||||
from .root_module.root_module import LightningModule
|
||||
from .root_module.decorators import data_loader
|
||||
from .core.lightning import LightningModule
|
||||
from .core.decorators import data_loader
|
||||
|
||||
__all__ = [
|
||||
'Trainer',
|
||||
|
||||
Reference in New Issue
Block a user