class_docstr: Test the PipelineHelper class.
class_docstr_tok: ["Test","the","PipelineHelper","class","."]
code: def test_split_badcases(self):
      # test some cases that cause infinite loops if we don't catch them.
      t = torch.randn(32, 5)
      with self.assertRaises(ValueError):
          PipelineHelper.split((t, {"x": {}}), 8)
      with self.assertRaises(ValueError):
          PipelineHelper.split((t, {"y": ()}), 8)
  
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 7 for calling the TestPipelineHelper obj's underlying member method code with example usage: obj.test_split_badcases() without return types