code: def __init__(self, encoder, first_conv_stride_one, layers):
      if first_conv_stride_one:
          encoder.conv1.stride = (1, 1)
  
      super().__init__(encoder, layers)
      if first_conv_stride_one:
          self.output_spec = FeatureMapsSpecification(
              channels=self.output_spec.channels,
              strides=tuple([s // 2 for s in self.output_spec.strides]),
          )
  
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 HRNetTimmEncoder object from inherited base classes: GenericTimmEncoder with example: obj = HRNetTimmEncoder(encoder, first_conv_stride_one, layers)