code: def register_default_strategy(register: FlashRegistry):
      """Register default strategy to given ``FlashRegistry``."""
      register(default, name="default", adapter=DefaultAdapter)
  
file_path: lightning-flash/src/flash/image/embedding/strategies/default.py
imports: import warnings
  from typing import Any, Optional
  from torch import nn
  from flash.core.adapter import Adapter, AdapterTask
  from flash.core.data.io.input import DataKeys
  from flash.core.model import Task
  from flash.core.registry import FlashRegistry
  from flash.core.utilities.url_error import catch_url_error
label_desc: Use image node_id 2 for calling a global function with example usage: register_default_strategy(register) without return types