Get the device of this module. Will prioritize the module’s setting over the global one.
NamedModule.device
dgs.models.modules.named.NamedModule
dgs.models.modules.named.NamedModule.is_training