code: def _set_losses_lrc(s):
      br = LossesRecordComponent()
      br.set_losses(s)
      return br
  
file_path: icevision/tests/utils/test_utils.py
imports: from icevision.all import *
  from icevision.core.record_components import LossesRecordComponent
label_desc: Use image node_id 9 for calling a global function with example usage: _set_losses_lrc(s) and returns: br