Skip to content

Commit

Permalink
Package: Import all modules in zennit/__init__.py
Browse files Browse the repository at this point in the history
- 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
1 parent 4e803a0 commit cca9ff5
Showing 1 changed file with 25 additions and 0 deletions.
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',
]

0 comments on commit cca9ff5

Please sign in to comment.