class_docstr: Adds adapters to the AlbertModel module.
class_docstr_tok: ["Adds","adapters","to","the","AlbertModel","module","."]
code: def iter_layers(self) -> Iterable[Tuple[int, nn.Module]]:
      i = 0
      for albertLayerGroup in self.encoder.albert_layer_groups:
          for albertLayer in albertLayerGroup.albert_layers:
              yield i, albertLayer
              i += 1
  
file_path: adapters/src/adapters/models/albert/mixin_albert.py
imports: from typing import Iterable, Tuple
  import torch.nn
  from ...composition import adjust_tensors_for_parallel_
  from ...methods.bottleneck import BottleneckLayer
  from ...methods.lora import LoRALinear
  from ...methods.prefix_tuning import PrefixTuningLayer
  from ...model_mixin import EmbeddingAdaptersMixin, InvertibleAdaptersMixin, ModelBaseAdaptersMixin
label_desc: Use image node_id 3 for calling the AlbertModelAdaptersMixin obj's underlying member method code with example usage: obj.iter_layers() without return types