code: def se_densenet169(pretrained=False, **kwargs):
      r"""Densenet-169 model from
      `"Densely Connected Convolutional Networks" <https://arxiv.org/pdf/1608.06993.pdf>`_
  
      Args:
          pretrained (bool): If True, returns a model pre-trained on ImageNet
      """
      model = SEDenseNet(
          num_init_features=64,
          growth_rate=32,
          block_config=(6, 12, 32, 32),
          **kwargs,
      )
      if pretrained:
          # '.'s are no longer allowed in module names, but pervious _DenseLayer
          # has keys 'norm.1', 'relu.1', 'conv.1', 'norm.2', 'relu.2', 'conv.2'.
          # They are also in the checkpoints in model_urls. This pattern is used
          # to find such keys.
          pattern = re.compile(
              r"^(.*denselayer\d+\.(?:norm|relu|conv))\.((?:[12])\.(?:weight|bias|running_mean|running_var))$"
          )
          state_dict = model_zoo.load_url(model_urls["densenet169"])
          for key in list(state_dict.keys()):
              res = pattern.match(key)
              if res:
                  new_key = res.group(1) + res.group(2)
                  state_dict[new_key] = state_dict[key]
                  del state_dict[key]
          model.load_state_dict(state_dict, strict=False)
      return model
  
imports: import re
  import torch
  import torch.nn
  import torch.nn.functional
  import torch.utils.model_zoo
  from collections import OrderedDict
  from .se_module import SELayer
label_desc: Use image node_id 2 for calling a global function with example usage: se_densenet169(pretrained) and returns: model