code: def __init__(self, layers=[2, 3, 5, 7], activation="relu6"):
      super().__init__(
          [32, 16, 24, 32, 64, 96, 160, 320],
          [2, 2, 4, 8, 16, 16, 32, 32],
          layers,
      )
      encoder = MobileNetV2(activation=activation)
  
      self.layer0 = encoder.layer0
      self.layer1 = encoder.layer1
      self.layer2 = encoder.layer2
      self.layer3 = encoder.layer3
      self.layer4 = encoder.layer4
      self.layer5 = encoder.layer5
      self.layer6 = encoder.layer6
      self.layer7 = encoder.layer7
  
file_path: pytorch-toolbelt/pytorch_toolbelt/modules/encoders/mobilenet.py
imports: from .common import EncoderModule, _take, make_n_channel_input
  from ..backbone.mobilenet import MobileNetV2
label_desc: Use image node_id 1 to create a new MobilenetV2Encoder object from inherited base classes: EncoderModule with example: obj = MobilenetV2Encoder(layers, activation)