class_docstr: Base class for testing the split transformation.
  
  Methods defined in this class call a method self.build_input() that
  is implemented by subclasses defined below, returning respectively
   SplitBijectorTestStatic: static shapes,
   SplitBijectorTestDynamic: shape placeholders of known ndims, and
  so that each test in this base class is automatically run over all
  three cases. The subclasses also implement assertRaisesError to test
  for either Python exceptions (in the case of static shapes) or
  TensorFlow op errors (dynamic shapes).
class_docstr_tok: ["Base","class","for","testing","the","split","transformation",".","Methods","defined","in","this","class","call","a","method","self.build_input","(",")","that","is","implemented","by","subclasses","defined","below",",","returning","respectively","SplitBijectorTestStatic",":","static","shapes",",","SplitBijectorTestDynamic",":","shape","placeholders","of","known","ndims",",","and","so","that","each","test","in","this","base","class","is","automatically","run","over","all","three","cases",".","The","subclasses","also","implement","assertRaisesError","to","test","for","either","Python","exceptions","(","in","the","case","of","static","shapes",")","or","TensorFlow","op","errors","(","dynamic","shapes",")","."]
code: def testAssertRaisesNonVectorSplitSizes(self):
      split_sizes = self.build_input([[1, 2, 2]])
      with self.assertRaisesRegexp(
          ValueError, "must be an integer or 1-D"
      ):
          split.Split(split_sizes, validate_args=True)
  
imports: from absl.testing import parameterized
  import numpy
  import tensorflow.compat.v1
  import tensorflow.compat.v2
  from tensorflow_probability.python.bijectors import split
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import test_util
label_desc: Use image node_id 3 for calling the _SplitBijectorTest obj's underlying member method code with example usage: obj.testAssertRaisesNonVectorSplitSizes() without return types