Skip to content

Commit

Permalink
move seed
Browse files Browse the repository at this point in the history
  • Loading branch information
Borda committed Jun 16, 2020
1 parent 7bb1428 commit 88bb1ee
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pytorch_lightning/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
else:
from pytorch_lightning.core import LightningModule
from pytorch_lightning.trainer import Trainer
from pytorch_lightning.trainer.seed import seed_everything
from pytorch_lightning.utilities.seed import seed_everything
from pytorch_lightning.callbacks import Callback
from pytorch_lightning.core import data_loader

Expand Down
2 changes: 1 addition & 1 deletion pytorch_lightning/trainer/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -1014,6 +1014,6 @@ def tbptt_split_batch(self, batch, split_size):
"""

from pytorch_lightning.trainer.trainer import Trainer
from pytorch_lightning.trainer.seed import seed_everything
from pytorch_lightning.utilities.seed import seed_everything

__all__ = ['Trainer', 'seed_everything']
File renamed without changes.

0 comments on commit 88bb1ee

Please sign in to comment.