code: def group_matcher(self, coarse=False):
      matcher = dict(
          stem=r"^body\.conv1",
          blocks=r"^body\.layer(\d+)"
          if coarse
          else r"^body\.layer(\d+)\.(\d+)",
      )
      return matcher
  
imports: from collections import OrderedDict
  from functools import partial
  import torch
  import torch.nn
  from timm.layers import SpaceToDepth, BlurPool2d, ClassifierHead, SEModule, ConvNormActAa, ConvNormAct, DropPath
  from ._builder import build_model_with_cfg
  from ._manipulate import checkpoint_seq
  from ._registry import register_model, generate_default_cfgs, register_model_deprecations
label_desc: Use image node_id 3 for calling the TResNet obj's underlying member method code with example usage: obj.group_matcher(coarse) and returns: matcher