code: def encoder_layers(self) -> List[nn.Module]:
      return [
          self.stem,
          self.layer1,
          self.layer2,
          self.layer3,
          self.layer4,
      ]
  
imports: from collections import OrderedDict
  from typing import List
  import torch
  from torch import nn
  from .common import GenericTimmEncoder
  from ..common import EncoderModule, make_n_channel_input
  from ...None import ACT_RELU, get_activation_block
label_desc: Use image node_id 2 for calling the TResNetMEncoder obj's underlying member method code with example usage: obj.encoder_layers() and returns: list