code: def _hrnet(arch, pretrained, progress, **kwargs):
      try:
          from hrnet_config import MODEL_CONFIGS
      except ImportError:
          pass
      model = HighResolutionNet(MODEL_CONFIGS[arch], **kwargs)
      if pretrained:
          model_url = model_urls[arch]
          state_dict = load_state_dict_from_url(
              model_url, progress=progress
          )
          model.load_state_dict(state_dict, strict=False)
      return model
  
imports: import numpy
  import logging
  import torch
  import torch.nn
  import torch.nn.functional
  from torchvision.models.utils import load_state_dict_from_url
label_desc: Use image node_id 3 for calling a global function with example usage: _hrnet(arch, pretrained, progress) and returns: model