code: def register_vissl_losses(register: FlashRegistry):
      for loss_fn in (swav_loss, barlow_twins_loss, simclr_loss):
          register(loss_fn)
  
file_path: lightning-flash/src/flash/image/embedding/losses/vissl_losses.py
imports: from typing import List, Union
  from torch import Tensor
  from flash.core.registry import FlashRegistry
  from flash.core.utilities.imports import _VISSL_AVAILABLE
label_desc: Use image node_id 6 for calling a global function with example usage: register_vissl_losses(register) without return types