__init__.py 575 Bytes
Newer Older
1
from .Layer import Layer
2
from .Conv1D import Conv1D
3
from .Maxout import maxout, maxout
Tiago de Freitas Pereira's avatar
Scratch  
Tiago de Freitas Pereira committed
4

Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
5

6
# gets sphinx autodoc done right - don't remove it
Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
7 8 9
def __appropriate__(*args):
  """Says object was actually declared here, an not on the import module.

10
  **Parameters**
Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
11 12 13 14 15 16 17 18 19 20 21

    *args: An iterable of objects to modify

  Resolves `Sphinx referencing issues
  <https://github.com/sphinx-doc/sphinx/issues/3048>`
  """

  for obj in args: obj.__module__ = __name__

__appropriate__(
    Layer,
22
    Conv1D,
23
    maxout,
24
    Maxout
Tiago de Freitas Pereira's avatar
Tiago de Freitas Pereira committed
25
    )
26
__all__ = [_ for _ in dir() if not _.startswith('_')]
Tiago de Freitas Pereira's avatar
Scratch  
Tiago de Freitas Pereira committed
27