code: def register_timm_backbones(register: FlashRegistry):
      if _TIMM_AVAILABLE:
          for model_name in timm.list_models():
              if model_name in TORCHVISION_MODELS:
                  continue
  
              register(
                  fn=catch_url_error(partial(_fn_timm, model_name)),
                  name=model_name,
                  namespace="vision",
                  package="timm",
                  providers=_TIMM,
              )
  
file_path: lightning-flash/src/flash/image/classification/backbones/timm.py
imports: from functools import partial
  from typing import Tuple
  import torch.nn
  from flash.core.registry import FlashRegistry
  from flash.core.utilities.imports import _TIMM_AVAILABLE
  from flash.core.utilities.providers import _TIMM
  from flash.core.utilities.url_error import catch_url_error
  from flash.image.classification.backbones.torchvision import TORCHVISION_MODELS
label_desc: Use image node_id 1 for calling a global function with example usage: register_timm_backbones(register) without return types