def default(head: Optional[str] = None, loss_fn: Optional[str] = None, **kwargs):
    """Return `(None, None, [])` as loss function, head and hooks.

    Because default strategy only support prediction.

    """
    if head is not None:
        warnings.warn(f"default strategy has no heads. So given head({head}) is ignored.")

    if loss_fn is not None:
        warnings.warn(f"default strategy has no loss functions. So given loss_fn({loss_fn}) is ignored.")

    return None, None, []
Return `(None, None, [])` as loss function, head and hooks.

    Because default strategy only support prediction.

    
src/flash/image/embedding/strategies/default.py