def initialize_module(self):
        """Initializes the module.

        A Braindecode model name can also be passed as module argument.

        If the module is already initialized and no parameter was changed, it
        will be left as is.

        """
        kwargs = self.get_params_for("module")
        module = _get_model(self.module)
        module = self.initialized_instance(module, kwargs)
        # pylint: disable=attribute-defined-outside-init
        self.module_ = module
        return self
Initializes the module.

        A Braindecode model name can also be passed as module argument.

        If the module is already initialized and no parameter was changed, it
        will be left as is.

        
braindecode/eegneuralnet.py