class_docstr: Test the PipelineHelper class.
class_docstr_tok: ["Test","the","PipelineHelper","class","."]
code: def test_split_complex(self):
      t = torch.randn(32, 5)
      item = (t, {"x": t, "y": t})
      for sitem in PipelineHelper.split(item, 8):
          assert isinstance(sitem, tuple)
          assert len(sitem) == 2
          left, right = sitem
          assert isinstance(left, torch.Tensor)
          assert left.shape == (8, 5)
          assert isinstance(right, dict)
          assert "x" in right
          assert "y" in right
          assert right["x"].shape == (8, 5)
          assert right["y"].shape == (8, 5)
  
imports: import torch
  import numpy
  import unittest
  from parlai.utils.torch import padded_tensor, argsort, PipelineHelper, neginf, IdentityLayer, trainable_parameters, total_parameters
label_desc: Use image node_id 5 for calling the TestPipelineHelper obj's underlying member method code with example usage: obj.test_split_complex() without return types