Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package: Import all modules in zennit/__init__.py #140

Merged
merged 1 commit into from
Jun 3, 2022
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Package: Import all modules in zennit/__init__.py
- to enable top-level import of zennit
- I did not initially do this as I did not feel this was necessary; now
  I feel differently
  • Loading branch information
chr5tphr committed Jun 3, 2022
commit 0694f3577c491de4ca364e028cf200d2286bf516
25 changes: 25 additions & 0 deletions src/zennit/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
'''Zennit top-level __init__.'''
from . import attribution
from . import canonizers
from . import cmap
from . import composites
from . import core
from . import image
from . import layer
from . import rules
from . import torchvision
from . import types


__all__ = [
'attribution',
'canonizers',
'cmap',
'composites',
'core',
'image',
'layer',
'rules',
'torchvision',
'types',
]