code: def get_backbones(model_type):
      _BACKBONES = FlashRegistry("backbones")
  
      for backbone_name, backbone_config in getmembers(
          model_type.backbones, lambda x: isinstance(x, BackboneConfig)
      ):
          # Only torchvision backbones with an FPN are supported
          if (
              "torchvision" in model_type.__name__
              and "fpn" not in backbone_name
          ):
              continue
  
          _BACKBONES(
              backbone_config,
              name=backbone_name,
          )
      return _BACKBONES
  
file_path: lightning-flash/src/flash/core/integrations/icevision/backbones.py
imports: from inspect import getmembers
  from torch import nn
  from flash.core.registry import FlashRegistry
  from flash.core.utilities.imports import _ICEVISION_AVAILABLE
label_desc: Use image node_id 4 for calling a global function with example usage: get_backbones(model_type) and returns: _BACKBONES