docstr: This method unmerges all merged adapter layers from the base weights.
docstr_tok: ["This","method","unmerges","all","merged","adapter","layers","from","the","base","weights","."]
code: def unmerge(self) -> None:
      """
      This method unmerges all merged adapter layers from the base weights.
      """
      if not self.merged:
          warnings.warn("Already unmerged. Nothing to do.")
          return
      while len(self.merged_adapters) > 0:
          active_adapter = self.merged_adapters.pop()
          if active_adapter in self.lora_embedding_A.keys():
              self.get_base_layer().weight.data -= (
                  self.get_delta_weight(active_adapter)
              )
  
imports: import math
  import warnings
  from typing import Any, List, Optional, Union
  import torch
  import torch.nn
  import torch.nn.functional
  from transformers.pytorch_utils import Conv1D
  from peft.tuners.tuners_utils import BaseTunerLayer
  from peft.utils.other import transpose
  from .config import LoraConfig
label_desc: Use image node_id 4 for calling the Embedding obj's underlying member method code with example usage: obj.unmerge() without return types