class_docstr: Inherit from TemporalPredictor and add support for adapter
class_docstr_tok: ["Inherit","from","TemporalPredictor","and","add","support","for","adapter"]
code: def add_adapter(self, name: str, cfg: dict):
      cfg = self._update_adapter_cfg_input_dim(cfg)
      for (
          conv_layer
      ) in self.layers:  # type: adapter_mixins.AdapterModuleMixin
          conv_layer.add_adapter(name, cfg)
  
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 1 for calling the TemporalPredictorAdapter obj's underlying member method code with example usage: obj.add_adapter(name, cfg) without return types