def METHOD_NAME(self):
    def T(w):
        return w.T if self.fan_in_fan_out else w
    nn.Module.METHOD_NAME(self)
    if self.merge_weights and not self.merged:
        # Merge the weights and mark it
        if self.r > 0:
            self.weight.data += T(self.lora_B @ self.lora_A) * self.scaling
            delattr(self, "lora_A")
            delattr(self, "lora_B")
        self.merged = True