code: def encoder_layers(self):
      return [
          self.layer0,
          self.layer1,
          self.layer2,
          self.layer3,
          self.layer4,
      ]
  
imports: from collections import OrderedDict
  from torch import nn
  from torchvision.models import resnet50, resnet34, resnet18, resnet101, resnet152
  from .common import EncoderModule, _take, make_n_channel_input
label_desc: Use image node_id 2 for calling the ResnetEncoder obj's underlying member method code with example usage: obj.encoder_layers() and returns: list