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