You can reassign parameters, but these will be new parameters and thus not updated anymore.
If you want to manipulate the parameter use:
with torch.no_grad():
    self.mask_weight.copy_(...)

instead.