Terminate this module and all of its submodules.
If nothing has to be done, just pass. Is used for terminating parallel execution and threads in specific models.
NamedModule.terminate()
dgs.models.modules.named.NamedModule.configure_torch_module
dgs.models.modules.named.NamedModule.validate_params