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