code: def __init__(self, pretrained=True, layers=None, activation=ACT_RELU):
      from timm.models.res2net import res2next50
  
      act_layer = get_activation_block(activation)
      encoder = res2next50(
          pretrained=pretrained, act_layer=act_layer, features_only=True
      )
      super().__init__(encoder, layers)
  
file_path: pytorch-toolbelt/pytorch_toolbelt/modules/encoders/timm/res2net.py
imports: import torch
  from .common import GenericTimmEncoder
  from ..common import make_n_channel_input
  from ...activations import ACT_RELU, get_activation_block
label_desc: Use image node_id 1 to create a new TimmRes2Next50Encoder object from inherited base classes: GenericTimmEncoder with example: obj = TimmRes2Next50Encoder(pretrained, layers, activation)