Get whether this module is set to training-mode. Will prioritize the module’s setting over the global one.
NamedModule.is_training
dgs.models.modules.named.NamedModule.device
dgs.models.modules.named.NamedModule.module_name