code: def __init__(self, pretrained=True, layers=None):
      super().__init__(
          resnet34(pretrained=pretrained),
          [64, 64, 128, 256, 512],
          [2, 4, 8, 16, 32],
          layers,
      )
  
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 1 to create a new Resnet34Encoder object from inherited base classes: ResnetEncoder with example: obj = Resnet34Encoder(pretrained, layers)