code: def testBijectors(self, bijector_name, data):
      event_dim = data.draw(hps.integers(min_value=2, max_value=6))
      bijector = data.draw(
          bijectors(
              bijector_name=bijector_name,
              event_dim=event_dim,
              enable_vars=False,
              batch_shape=data.draw(
                  tfp_hps.shapes(min_ndims=0, max_ndims=2, max_side=5)
              ),
              validate_args=True,
          )
      )
  
      # Check that all bijectors still register as non-iterable despite
      # defining __getitem__.  (Because __getitem__ magically makes an object
      # iterable for some reason.)
      with self.assertRaisesRegex(TypeError, "not iterable"):
          iter(bijector)
  
      # Test slicing
      self._test_slicing(data, bijector_name, bijector, event_dim)
  
imports: import collections
  import functools
  from absl.testing import parameterized
  import hypothesis
  from hypothesis import strategies
  import numpy
  import tensorflow.compat.v2
  from tensorflow_probability.python import bijectors
  from tensorflow_probability.python import util
  from tensorflow_probability.python.bijectors import hypothesis_testlib
  from tensorflow_probability.python.bijectors import invert
  from tensorflow_probability.python.internal import auto_composite_tensor
  from tensorflow_probability.python.internal import hypothesis_testlib
  from tensorflow_probability.python.internal import prefer_static
  from tensorflow_probability.python.internal import samplers
  from tensorflow_probability.python.internal import tensor_util
  from tensorflow_probability.python.internal import tensorshape_util
  from tensorflow_probability.python.internal import test_util
  from tensorflow.python.util import nest
label_desc: Use image node_id 3 for calling the BijectorSlicingTest obj's underlying member method code with example usage: obj.testBijectors(bijector_name, data) without return types