code: def test_split_targets_per_loss():
      assert split_targets_per_loss(
          [1, 2, 3, 4],
          [
              DummyLoss(10, 100, 2),
              DummyLoss(20, 200, 1),
              DummyLoss(30, 300, 1),
          ],
      ) == [[1, 2], [3], [4]]
  
imports: import pytest
  import mxnet
  from mxnet import nd
  import numpy
  from rl_coach.architectures.mxnet_components.utils import *
label_desc: Use image node_id 5 for calling a global function with example usage: test_split_targets_per_loss() without return types