class_docstr: Base class for all adaptation methods that require per-layer modules.
  
  Make sure the 'adapter_modules_name' attribute is overriden in derived classes.
class_docstr_tok: ["Base","class","for","all","adaptation","methods","that","require","per-layer","modules",".","Make","sure","the","'adapter_modules_name","'","attribute","is","overriden","in","derived","classes","."]
docstr: Enables/ disables a set of adapter modules within the layer.
  
  Args:
      adapter_setup (AdapterCompositionBlock): The adapter setup to enable/ disable.
      unfreeze_adapters (bool): Whether to unfreeze the adapters.
      unfreeze_fusion (bool): Whether to unfreeze the fusion layers.
docstr_tok: ["Enables\/","disables","a","set","of","adapter","modules","within","the","layer",".","Args",":","adapter_setup","(","AdapterCompositionBlock",")",":","The","adapter","setup","to","enable\/","disable",".","unfreeze_adapters","(","bool",")",":","Whether","to","unfreeze","the","adapters",".","unfreeze_fusion","(","bool",")",":","Whether","to","unfreeze","the","fusion","layers","."]
code: def enable_adapters(
      self,
      adapter_setup: AdapterCompositionBlock,
      unfreeze_adapters: bool,
      unfreeze_fusion: bool,
  ):
      """Enables/ disables a set of adapter modules within the layer.
  
      Args:
          adapter_setup (AdapterCompositionBlock): The adapter setup to enable/ disable.
          unfreeze_adapters (bool): Whether to unfreeze the adapters.
          unfreeze_fusion (bool): Whether to unfreeze the fusion layers.
      """
      raise NotImplementedError()
  
imports: from abc import ABCMeta, abstractmethod
  from typing import Collection, Dict, List, NamedTuple, Union
  import numpy
  import torch
  from torch import nn
  from ..composition import ALLOWED_NESTINGS, AdapterCompositionBlock, Average, BatchSplit, Fuse, Parallel, Split, Stack
  from ..context import AdapterSetup, ForwardContext
label_desc: Use image node_id 12 for calling the AdapterLayerBase obj's underlying member method code with example usage: obj.enable_adapters(adapter_setup, unfreeze_adapters, unfreeze_fusion) without return types