Skip to content

Commit

Permalink
bugfix: Add missing imports to pl_bolts/__init__.py (Lightning-Univer…
Browse files Browse the repository at this point in the history
…se#430)

* Add missing imports

* Add missing imports

* Apply isort
  • Loading branch information
akihironitta authored and chris-clem committed Dec 16, 2020
1 parent 794aa20 commit 8aba29c
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions pl_bolts/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,16 @@
sys.stdout.write(f'Partial import of `{__name__}` during the build process.\n') # pragma: no-cover
# We are not importing the rest of the lightning during the build process, as it may not be compiled yet
else:

# from pl_bolts.models.mnist_module import LitMNIST
from pl_bolts import callbacks, datamodules, datasets, metrics, models, transforms
from pl_bolts import callbacks, datamodules, datasets, losses, metrics, models, optimizers, transforms, utils

__all__ = [
# 'LitMNIST',
'models',
'metrics',
'callbacks',
'datamodules',
'datasets',
'losses',
'metrics',
'models',
'optimizers',
'transforms',
'utils'
]

0 comments on commit 8aba29c

Please sign in to comment.