class_docstr: Inherit from AlignmentEncoder and add support for adapter
class_docstr_tok: ["Inherit","from","AlignmentEncoder","and","add","support","for","adapter"]
code: def set_enabled_adapters(
      self, name: Optional[str] = None, enabled: bool = True
  ):
      for i, conv_layer in enumerate(self.key_proj):
          if i % 2 == 0:
              conv_layer.set_enabled_adapters(
                  name=name, enabled=enabled
              )
      for i, conv_layer in enumerate(self.query_proj):
          if i % 2 == 0:
              conv_layer.set_enabled_adapters(
                  name=name, enabled=enabled
              )
  
imports: from typing import List, Optional
  from omegaconf import DictConfig
  from nemo.collections.asr.parts.utils import adapter_utils
  from nemo.collections.tts.modules.aligner import AlignmentEncoder
  from nemo.collections.tts.modules.fastpitch import TemporalPredictor
  from nemo.collections.tts.modules.transformer import FFTransformerDecoder, FFTransformerEncoder
  from nemo.core.classes import adapter_mixins
label_desc: Use image node_id 3 for calling the AlignmentEncoderAdapter obj's underlying member method code with example usage: obj.set_enabled_adapters(name, enabled) without return types