nussl/ml/__init__.py
def register_module(module):
    """
    Your custom modules can be registered with nussl's SeparationModel
    via this function. For example, if you have some module `ExampleModule`,
    you can register it as follows:

    .. code-block:: python

        class ExampleModule(nn.Module):
        def forward(self, data):
            data = data * 2
            return data

        ml.register_module(ExampleModule)

    You can now use the name `ExampleModule` in the config for a SeparationModel.
    
    Args:
        module ([type]): [description]
    """
    setattr(modules, module.__name__, module)

    Your custom modules can be registered with nussl's SeparationModel
    via this function. For example, if you have some module `ExampleModule`,
    you can register it as follows:

    .. code-block:: python

        class ExampleModule(nn.Module):
        def forward(self, data):
            data = data * 2
            return data

        ml.register_module(ExampleModule)

    You can now use the name `ExampleModule` in the config for a SeparationModel.
    
    Args:
        module ([type]): [description]
    
Your custom modules can be registered with nussl's SeparationModel
via this function. For example, if you have some module `ExampleModule`,
you can register it as follows.

code-block:: python





You can now use the name `ExampleModule` in the config for a SeparationModel.
Your custom modules can be registered with nussl ' s SeparationModel via this function . For example if you have some module ` ExampleModule ` you can register it as follows . code - block :: python You can now use the name ` ExampleModule ` in the config for a SeparationModel .
def register_module(module):
    setattr(modules, module.__name__, module)
def register_module ( module ) : setattr ( modules , module . __name__ , module )
Your custom modules can be registered with nussl's SeparationModel
via this function.
Your custom modules can be registered with nussl ' s SeparationModel via this function .
"""
    Your custom modules can be registered with nussl's SeparationModel
    via this function. For example, if you have some module `ExampleModule`,
    you can register it as follows:

    .. code-block:: python

        class ExampleModule(nn.Module):
        def forward(self, data):
            data = data * 2
            return data

        ml.register_module(ExampleModule)

    You can now use the name `ExampleModule` in the config for a SeparationModel.
    
    Args:
        module ([type]): [description]
    """
module
None