class_docstr: Adds adapters to the BartDecoderWrapper class.
code: def iter_layers(self) -> Iterable[Tuple[int, nn.Module]]:
      for i, layer in enumerate(self.decoder.layers):
          yield i, layer
  
imports: from typing import Iterable, Optional, Tuple
  import torch
  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, EmbeddingAdaptersWrapperMixin, InvertibleAdaptersMixin, InvertibleAdaptersWrapperMixin, ModelBaseAdaptersMixin
label_desc: Use image node_id 1 for calling the BartDecoderWrapperAdaptersMixin obj's underlying member method code with example usage: obj.iter_layers() without return types