code: def __init__(
      elf,
      pretrained=True,
      use_incre_features: bool = True,
      layers=None,
      first_conv_stride_one: bool = False,
  ):
      from timm.models import hrnet
  
      encoder = hrnet.hrnet_w48(
          pretrained=pretrained,
          feature_location="incre" if use_incre_features else "",
          features_only=True,
          out_indices=(0, 1, 2, 3, 4),
      )
      super().__init__(
          encoder,
          first_conv_stride_one=first_conv_stride_one,
          layers=layers,
      )
  
imports: from .common import GenericTimmEncoder
  from ..common import EncoderModule, _take, make_n_channel_input
  from ...activations import ACT_RELU, get_activation_block
  from pytorch_toolbelt.modules.interfaces import FeatureMapsSpecification
label_desc: Use image node_id 1 to create a new HRNetW48Encoder object from inherited base classes: HRNetTimmEncoder with example: obj = HRNetW48Encoder(elf, pretrained, use_incre_features, layers, first_conv_stride_one)